GraphQL Allows Fields Starting with __
in the Mutation Type
#2800
Labels
module/graphql
Issues related to Ballerina GraphQL module
Points/0.5
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/PCM
Protocol connector packages related issues
Type/Bug
Milestone
Description:
If a GraphQL service has a field inside the Mutation type starting with double underscores (
__
), the compiler allows using the name. This should throw a compiler error.Reproducible code:
The text was updated successfully, but these errors were encountered: