- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Earlier/1.x versions of JSONAPI seemed to work well with dynamic_entity_reference but after 2.x upgrade it stopped. Because 2.x looks for a ResourceType via a statically defined target_type on an entity in its definition while the target_type is not yet defined/or unable to infer for a dynamic_entity_reference field before the content entity is actually created.
I don't think it is something we can fix in the dynamic_entity_reference module but add few lines of more code how JSONAPI could look for a ResourceType of a dynamic field.
Here is the patch. I am sure it needs some improvement but seems to be working for me. Any suggestions will be helpful
Thanks
Active
11.0 🔥
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.