Skip to content

Conversation

@esakylli
Copy link
Contributor

@esakylli esakylli commented Dec 4, 2024

Better error-handling in graphql-queries for standard modules.
This is for the use-case where expected tables are missing under their standard-name, due to column-definitions mismatch between products published from Promaster. A change in a table-definition may have been applied to one product, but not to another.
Previously we got a hard-crash when trying to access the table in code when creating the graphql-schema. Now the schema is created and we get a graphql-error instead when querying the product-data.

Fixes #56

@esakylli esakylli requested a review from jonaskello December 4, 2024 09:01
@esakylli esakylli self-assigned this Dec 4, 2024
@esakylli esakylli merged commit afff3a0 into master Dec 4, 2024
2 checks passed
@esakylli esakylli deleted the feature/graphql-standard-modules-error-handling branch December 4, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in GraphQL endpoint when table-definition has changed

2 participants