Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
One major functionality we still miss for typed data, is the possiblity to add match data types; e.g. such that entity:node can be used for "entity" or "integer" for a "float" context.
Related:
#2028097: Map data types to interfaces to make typed data discoverable
Besides that, we need to make sure to have registered data types for primitives like date and duration.
Comments
Comment #1
fagoPlanned:
- Bake in matching entity:type support matches entity
- Support interface based matches, add interface to data types like StringInterface
Comment #2
geek-merlin> Support interface based matches, add interface to data types like StringInterface
Sounds like the adapter pattern.