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

Deserialize unregisterered relationships #130

Merged

Conversation

Istanful
Copy link
Contributor

@Istanful Istanful commented Sep 16, 2021

When a resource is deserialized and the included relationship is not
registered an error will be thrown. The error says Cannot read property
'schema' of undefined.

This commit circumvents the error by using the default options for the
given type.

Fixes #129

When a resource is deserialized and the included relationship is not
registered an error will be thrown. The error says Cannot read property
'schema' of undefined.

This commit circumvents the error by using the default options for the
given type.
@Istanful Istanful changed the title Deserialize unregisterered relationships Deserialize unregisterered relationships, fixes #129 Sep 16, 2021
@Istanful Istanful changed the title Deserialize unregisterered relationships, fixes #129 Deserialize unregisterered relationships Sep 16, 2021
@danivek danivek merged commit 6355c40 into danivek:master Sep 23, 2021
@Istanful Istanful deleted the fix/129/unregistered-relationship-error branch September 23, 2021 15:58
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

Successfully merging this pull request may close these issues.

Error thrown when relationship is not registered
2 participants