opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
202 stars 13 forks source link

bug: Schema: Update on an attribute or relationship on a generic is not being applied to inherited nodes #4004

Closed dgarros closed 3 months ago

dgarros commented 3 months ago

Component

API Server / GraphQL

Infrahub version

0.15.2

Current Behavior

In the schema, an update on an attribute or a relationship on a generic is not being applied to all the inherited fields.

If a user update the value of a generic after the schema has already been loaded, the new value of the attributes or the relationships will not be applied to the nodes that have inherited these attributes/relationships.

Expected Behavior

Inherited attributes / relationships should get updated when the original attribute / relationship is being updated

Steps to Reproduce

Additional Information

No response