Repository navigation
fix: GraphQL API fails when a class name or mutation alias collides with a built-in name - #10757
Conversation
…ith a built-in name
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe GraphQL schema reserves additional built-in type and mutation names. New tests check schema loading when Parse-generated types or configured query and mutation aliases collide with built-in names. ChangesGraphQL Name Collision Handling
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is identified; the change is ready for normal checks. 🚥 Pre-merge checks | ✅ 7✅ Passed checks (7 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 Biome (2.5.13)src/GraphQL/ParseGraphQLSchema.jsFile contains syntax errors that prevent linting: Line 86: return types can only be used in TypeScript files; Line 87: return types can only be used in TypeScript files; Line 88: return types can only be used in TypeScript files; Line 89: return types can only be used in TypeScript files; Line 90: return types can only be used in TypeScript files; Line 91: return types can only be used in TypeScript files; Line 91: expected a semicolon to end the class property, but found none; Line 91: Expected an identifier, a string literal, a number literal, a private field name, or a computed name but instead found '; Line 91: expected ... [truncated 2392 characters] ... und none; Line 477: Expected a semicolon or an implicit semicolon after a statement, but found none; Line 478: Illegal return statement outside of a function; Line 497: expected Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #10757 +/- ##
=======================================
Coverage 93.99% 93.99%
=======================================
Files 193 193
Lines 17098 17098
Branches 259 259
=======================================
Hits 16071 16071
Misses 1005 1005
Partials 22 22 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
## [9.10.4-alpha.1](9.10.3...9.10.4-alpha.1) (2026-10-07) ### Bug Fixes * GraphQL API fails when a class name or mutation alias collides with a built-in name ([#10757](#10757)) ([866e82b](866e82b))
|
🎉 This change has been released in version 9.10.4-alpha.1 |
## [9.10.4](9.10.3...9.10.4) (2026-10-09) ### Bug Fixes * Batch and direct access requests fail for object IDs without alphanumeric characters or class names without letters ([#10761](#10761)) ([c8d5ebb](c8d5ebb)) * GraphQL API fails when a class name or mutation alias collides with a built-in name ([#10757](#10757)) ([866e82b](866e82b)) * Object write with a reserved field name can make reads fail on MongoDB ([GHSA-gwrq-q25v-g8mr](GHSA-gwrq-q25v-g8mr)) ([#10763](#10763)) ([d90b841](d90b841)) * Unauthenticated deletion of class schemas removes class-level permissions on MongoDB ([GHSA-qmg9-m772-5rm7](GHSA-qmg9-m772-5rm7)) ([#10767](#10767)) ([2114fca](2114fca))
|
🎉 This change has been released in version 9.10.4 |
Pull Request
Issue
GraphQL API fails when a class name or mutation alias collides with a built-in name
Tasks
Summary by CodeRabbit