bug: cannot define an HFID which is equal to the uniqueness_constraint #4181
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
0.16.0.dev0
Current Behavior
When you try to load the following schema into Infrahub, you get an error message
This is wrong, we defined a uniqueness_constraint that defines that the value of the
aaa
attribute must be unique, therefor we should be able to use if for the HFID.Expected Behavior
I would expect that we can use attributes, defined as unique within the
uniqueness_constraint
option to construct the HFID.Steps to Reproduce
infrahubctl
Additional Information
No response
The text was updated successfully, but these errors were encountered: