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

Check the correct name when adding permissions object schemas to the schema #2121

Merged
merged 1 commit into from Nov 20, 2018

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Nov 19, 2018

The name property of the schema object is the name of the class (i.e. Role for the role object) rather than the schema name (i.e. __Role). This happened to work if only the predefined schema objects were used and no user-defined classes had the non-underscore-prefixed names, but broke otherwise.

Fixes #2120.

…schema

The `name` property of the schema object is the name of the class (i.e. `Role`
for the role object) rather than the schema name (i.e. `__Role`). This happened
to work if only the predefined schema objects were used and no user-defined
classes had the non-underscore-prefixed names, but broke otherwise.
@tgoyne tgoyne added the T-Bug label Nov 19, 2018
@tgoyne tgoyne self-assigned this Nov 19, 2018
@tgoyne tgoyne requested a review from kneth November 19, 2018 19:57
@tgoyne tgoyne merged commit 05a65ce into master Nov 20, 2018
@tgoyne tgoyne deleted the tg/schema-name branch November 20, 2018 15:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Realm client get confused by classes with names ROLE and USER
2 participants