Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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