- Issue created by @wim leers
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Follow-up for ✨ [PP-2] POST/PATCH config entities via REST for config entity types that support validation Needs work .
"relationships" and "related" support was descoped from that, because:
NodeType may have associated FieldConfig and FieldConfigneeds FieldStorageConfig) typically require hardcoded logic in the corresponding client/UI anyway. So expressing the relationships through links/hypermedia is not blocking such UIs from being built.FieldConfig needs a FieldStorageConfig) are very clearly expressed (thanks to RequiredConfigDependencies, since
✨
Add validation constraints to config_entity.dependencies
Fixed
). We could autogenerate a sensible JSON:API relationship name for this, in both directions. But … other relationships are less explicit. For example, FieldConfig is associated with a particular content entity type + bundle. For nodes, that'd be a NodeType. For example, the body field in the Standard install profile contains this:dependencies:
config:
- field.storage.node.body
- node.type.article
module:
- text
… the field.storage.node.body could be described by RequiredConfigDependencies, but what about node.type.article? How do we generate a sensible name for it?
N/A
TBD
Discuss, propose!
TBD
TBD
TBD
TBD
Active
11.0 🔥
Last updated
Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.