api-platform / create-client

Generate React or Vue.js-based Progressive Web Apps from an Hydra-enabled API. Also support React Native.
https://api-platform.com/docs/client-generator/
MIT License
374 stars 132 forks source link

feat: Normalize nested objects #295

Closed artandor closed 3 years ago

artandor commented 3 years ago
Q A
Branch? main
License MIT
Doc PR api-platform/docs

When using normalization groups to expose some properties of a nested object, the current code only retrieves the IRI. It seems interesting to be able to normalize the nested item if it is an object, and return the real object instead of a string IRI.

dunglas commented 3 years ago

Thanks @artandor