wunderwerkio / drupal-kit

Modern, modular and composable Drupal SDK for Node.js, Edge and Browser with an extensive plugin system and first-class TypeScript support.
5 stars 0 forks source link

Optional relationships do not work with `DeriveSimpleJsonApiResource` #84

Open chfoidl opened 8 months ago

chfoidl commented 8 months ago

When declaring an optional relationship on a JSONApiResource, the relationship is always infered as never when using the DeriveSimpleJsonApiResource type on the resource.

chfoidl commented 5 months ago

Maybe refactor those complex types. Might be causing the error in #93