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

fix: avoid create custom entities with the same name #2791

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

a-kud
Copy link
Contributor

@a-kud a-kud commented Dec 2, 2023

Since we've added the flexible back-end, we're now able to create custom objects per workspaces.
As the core graphQL schema is seeing merged with the workspace schema we must avoid conflict in the naming of custom objects against core and standards entities.

Fixes #2768

Copy link

github-actions bot commented Dec 2, 2023

CLA

Hello there and welcome to our project!
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.
Although we don't have a dedicated legal counsel, having this kind of agreement can protect us from potential legal issues or patent trolls.
Thank you for your understanding.

Generated by 🚫 dangerJS against 3740b98

@a-kud a-kud marked this pull request as ready for review December 2, 2023 19:54
Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @a-kud
@Weiko could you take a look?

@a-kud
Copy link
Contributor Author

a-kud commented Dec 5, 2023

@Weiko can you take a look please? I left only four entities as requested and disabled strong input check.

Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thank you @a-kud

@Weiko Weiko merged commit 976e058 into twentyhq:main Dec 5, 2023
2 checks passed
@charlesBochet charlesBochet mentioned this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: avoid being able to create custom entities with the same name as core and standards entities
3 participants