fix: update schemataByApiSchemaApiIdAndSchemaId to schemasByApiSchemaApiIdAndSchemaId for graphile-simple-inflector 0.4.4 compatibility#576
Closed
pyramation wants to merge 1 commit into
Conversation
…ApiIdAndSchemaId for graphile-simple-inflector 0.4.4 compatibility
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Mar 14, 2026
Forward CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES and CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES env vars into PostgreSQL session context via pgSettings. This allows the constructive-db schema naming triggers to read these settings and produce simpler, more readable schema names for local development. Companion to constructive-db PR #576.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the GraphQL query field name from
schemataByApiSchemaApiIdAndSchemaIdtoschemasByApiSchemaApiIdAndSchemaIdin the server middleware to match the new field name generated by graphile-simple-inflector 0.4.4.This change aligns with the corresponding updates made in constructive-db (see commit cd69cd68b) where the underlying
schematatable was renamed toschemas.Review & Testing Checklist for Human
gql.tswere updated - the diff shows only one change but there are two queries (ApiQueryat line 23 andApiByNameQueryat line 74) that use this field. The second occurrence may have been missed.schemasByApiSchemaApiIdAndSchemaIdas the field name (depends on graphile-simple-inflector version)Notes
Link to Devin run: https://app.devin.ai/sessions/d52a445024ee496a94d376a474bf26f1
Requested by: Dan Lynch (@pyramation)