method
Store.ClearDevelopmentFieldKinds
ClearDevelopmentFieldKinds clears only the confirmed changed fields, in working values, published heads, and snapshots, and adopts the resulting development schema in one transaction. Immutable migration history is never bypassed.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
before | schema.Manifest | The before value. |
after | schema.Manifest | The after value. |
expected | []fieldchange.Report | The expected value. |
Returns
The declared result.
errorFull signature
func (backend *Store) ClearDevelopmentFieldKinds(
ctx context.Context,
before,
after schema.Manifest,
expected []fieldchange.Report,
) error