When using two databases with conflicting schema, the use of a namespace can help avoid conflicts.
But when I try to create relationships from the foreign keys detected in a database under a namespace, the creation hits an error:
Creating relationship failed
Found conflicting definitions for 'MY_TABLE_bool_exp'. The definition at query_root.testnet2.domain.where differs from the the definitions [query_root.MY_NAMESPACE.MY_TABLE_aggregate.where...
What is the expected behaviour?
Relationships get created without error
How to reproduce the issue?
Connect to two postgresql dbs in with the same schema in the same hasura instance
Add unique namespaces for each in the Root Fields setting
Environment
Hasura Cloud
What is the current behaviour?
When using two databases with conflicting schema, the use of a namespace can help avoid conflicts. But when I try to create relationships from the foreign keys detected in a database under a namespace, the creation hits an error:
Creating relationship failed
What is the expected behaviour?
Relationships get created without error
How to reproduce the issue?
Screenshots or Screencast
Keywords
Postgresql foreign key relationship root fields namespace