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

Failing if entity name is "Group" #257

Open
brunobuddy opened this issue Dec 30, 2024 · 1 comment
Open

Failing if entity name is "Group" #257

brunobuddy opened this issue Dec 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@brunobuddy
Copy link
Contributor

If the name of the entity is "Group" there is some weird behaviours: https://discord.com/channels/1089907785178812499/1323062280581152828/1323062280581152828

We should check that entity names do not overlap reserved words in SQLite to prevent those issues. Or find a workaround

@brunobuddy brunobuddy added the bug Something isn't working label Dec 30, 2024
@brunobuddy brunobuddy self-assigned this Dec 30, 2024
@cosatsil
Copy link

To be clear, this is not about the name "Group". It is about any case in which a relationship with another entity is named the same as that entity (or the same but in plural form). For example, any of the following:

{ name: units, entity: Unit }
{ name: events, entity: Event }
{ name: bags, entity: Bag }

will trigger an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants