- Issue created by @sense-design
- 🇦🇺Australia richard.thomas
So after a bit of digging, I think this might be due to the D11 fix changes here:
https://git.drupalcode.org/project/schemata/-/commit/3eec8b017dcb040bac2...
The values returned from getSupportedTypes() are indicating that the result of the supportsNormalization() method can be cached, which doesn't seem to be the case at least for the RelationshipFieldDefinitionNormalizer/FieldDefinitionNormalizer classes (as they both operate on FieldDefinitionInterface). RelationshipFieldDefinitionNormalizer ends up being used for non relationship fields as well, causing this issue.
Returning FALSE for RelationshipFieldDefinitionNormalizer and FieldDefinitionNormalizer seems to fix the issue here, I'll create a merge request with the change.
- Merge request !16Disable cache for field normalizers to avoid regular fields being treated as relationships. → (Open) created by richard.thomas
- 🇩🇪Germany sense-design Münster
Small change with big effect, works within my project and not able to update to stable release finally.