Skip to content

Error message on missing relation#7

Open
Goldsmith42 wants to merge 1 commit intoalitelabs:devfrom
Goldsmith42:entity-error
Open

Error message on missing relation#7
Goldsmith42 wants to merge 1 commit intoalitelabs:devfrom
Goldsmith42:entity-error

Conversation

@Goldsmith42
Copy link
Copy Markdown

If a relation was not exported properly but was referenced by another entity, we would get the cryptic error message:

TypeError: Cannot read property 'members' of undefined

This commit fixes it so that the "missing inverse relation" error is thrown in this scenario so that whoever reads the message has a better idea of what went wrong.

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.

1 participant