-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-1565: Refactor schema's types' names validation #116
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better than the previous approach, and more flexible since we can transform some other specific names that would right now be invalid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on eZPlatform 2.5.
Merge into: |
v2.5
Content Type Groups
don't have an identifier that matches the GraphQL standard, they have only names. Therefore the problem arises in every Group which has some special chars and the schema is not generated at all for them, even though the name would be transformed.The validation should occur after the identifiers have been transformed according to the standard, not before. This solution also simplifies code and avoids repeats.