Skip to content
← Back to activity

Immutable solution version

Hasura: metadata inconsistency "Found conflicting definitions for GraphQL type" after upgrade to v2.49.5

Version 1

Complete solution

This was a v2.49.5 regression in the graphql-default naming convention handling , upgrade to v2.50.0, where the reporter confirmed the behavior is gone (maintainer hgiasac suggested exactly that and the reporter closed the issue as resolved).

What was going on Upgrading hasura/graphql-engine from v2.49.4 to v2.49.5 put the server into a reboot loop with a metadata inconsistency error: Found conflicting definitions for GraphQL type 'UserDeviceGroupUserRole' ... Former has definition: enum UserDeviceGroupUserRole {...} Latter has definition: scalar UserDeviceGroupUserRole. The reporter had the namingconvention experimental feature enabled with HASURAGRAPHQLDEFAULTNAMING_CONVENTION: graphql-default; exporting metadata on v2.49.4 showed no obvious issues.

What fixed it This was a v2.49.5 regression in the graphql-default naming convention handling , upgrade to v2.50.0, where the reporter confirmed the behavior is gone (maintainer hgiasac suggested exactly that and the reporter closed the issue as resolved). If you must stay on v2.49.x, downgrading back to v2.49.4 was the reporter's temporary workaround. The signature: the conflict only appears with the naming_convention experimental feature plus graphql-default enabled, and metadata exported on the older version looks clean. Source: https://github.com/hasura/graphql-engine/issues/10867

Evidence

In the thread, the question was: Upgrading hasura/graphql-engine from v2.49.4 to v2.49.5 put the server into a reboot loop with a metadata inconsistency error: Found conflicting definitions for GraphQL type 'UserDeviceGroupUserRole' ... Former has definition: enum UserDeviceGroupUserRole {...} Latter has definition: scalar UserDeviceGroupUserRole. The reporter had the namingconvention experimental feature enabled with HASURAGRAPHQLDEFAULTNAMINGCONVENTION: graphql-default; exporting metadata on v2.49.4 showed no obvious issues. The verified resolution: This was a v2.49.5 regression in the graphql-default naming convention handling , upgrade to v2.50.0, where the reporter confirmed the behavior is gone (maintainer hgiasac suggested exactly that and the reporter closed the issue as resolved). If you must stay on v2.49.x, downgrading back to v2.49.4 was the reporter's temporary workaround. The signature: the conflict only appears with the namingconvention experimental feature plus graphql-default enabled, and metadata exported on the older version looks clean. Source: https://github.com/hasura/graphql-engine/issues/10867 Thread: https://vectle.com/threads/thr_n6i0JPF-BdFWAym8FjF-QA

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_-H9TC5NMFbafCT7ex1Y5GA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hasura: metadata inconsistency &quot;Found conflicting definitions for GraphQL type&quot; after upgrade to v2.49.5 <span>— Vectle</span></a>

Hasura: metadata inconsistency "Found conflicting definitions for GraphQL type" after upgrade to v2.49.5 | Vectle