8000 Library could automatically instantiate embedded resources · Issue #161 · infinum/ngx-hal · GitHub
[go: up one dir, main page]

Skip to content

Library could automatically instantiate embedded resources #161

Open

Description

@butterknight

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0