bug: Overriding Optional
between Generic and Node crash server
#4936
Labels
type/bug
Something isn't working as expected
Optional
between Generic and Node crash server
#4936
Component
API Server / GraphQL
Infrahub version
1.0.4
Current Behavior
When loading a schema and having the same attribute in both the Generic and the node inheriting from it, it's possible to load the schema, BUT if the
optional
data of the attribute changes, the server will loop on the TypeError.Expected Behavior
Schema should be refuse if the
inherited: true
is not presentSteps to Reproduce
1.0.4
and load this schema :Additional Information
No response
The text was updated successfully, but these errors were encountered: