bug: schema fails to load when a schemanode defines a single uniqueness constraint on a relationship, without an HFID #4483
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Component
API Server / GraphQL
Infrahub version
0.16.1
Current Behavior
When you load the following schema:
You get the following error message:
The following exception can be found in the logs of the API server
If you modify the schema (add HFID) then it load fine
Expected Behavior
If this is considered to be an invalid schema, then we should return a proper error message to the user informing them of the exact issue and how it can be corrected. If this is considered a valid schema then we should load it without any error message.
Steps to Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: