-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
2.x targetChanges that should be made in 2.0 but not before, as they'd be a BC break.Changes that should be made in 2.0 but not before, as they'd be a BC break.enhancementNew feature or requestNew feature or request
Description
Currently, Importer::canImport() accepts a Field and a format name string. However, there are cases where we want to know more about the Deformatter, such as if its source value is an array that we can type introspect.
For 2.x, we should change the API to pass the full Deformatter to canImport().
That will also allow us to add an ArrayBased marker interface to the Array, CSV, JSON, YAML, and TOML Deformatters for canImport() to check if needed.
See the notes in MixedField and UnionField for an example of where we want that.
Metadata
Metadata
Assignees
Labels
2.x targetChanges that should be made in 2.0 but not before, as they'd be a BC break.Changes that should be made in 2.0 but not before, as they'd be a BC break.enhancementNew feature or requestNew feature or request