Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library could automatically instantiate embedded resources #161

Open
butterknight opened this issue May 16, 2023 · 0 comments
Open

Library could automatically instantiate embedded resources #161

butterknight opened this issue May 16, 2023 · 0 comments

Comments

@butterknight
Copy link

Currently, when a resource that contains an embedded resource is fetched, the library won't automatically instantiate the model for the embedded resource (even if the model definition exists) until the relationship descriptor is provided.

This means that fetching a resource with request is problematic if it has an embedded resource that we'd like to instantiate automatically.

I think an embedded resource could be instantiated regardless of relationship descriptors if the model definition for it exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant