Component
API Server / GraphQL
Infrahub version
1.3.3
Current Behavior
When attempting to template a model that has a Parent, the system also forces the creation of a template for the parent. This is inconvenient and should not be required—users should be able to template a child model independently of its Parent.
Expected Behavior
It should be possible to template a child model without being forced to create a template for its Parent.
Steps to Reproduce
- Create a simple schema with 2 nodes. One of them is the Parent of the other.
- Add
generate_template: true on the child node and try to load the schema
- Observe that the system requires a template for the Parent.
Additional Information
No response
Component
API Server / GraphQL
Infrahub version
1.3.3
Current Behavior
When attempting to template a model that has a Parent, the system also forces the creation of a template for the parent. This is inconvenient and should not be required—users should be able to template a child model independently of its Parent.
Expected Behavior
It should be possible to template a child model without being forced to create a template for its Parent.
Steps to Reproduce
generate_template: trueon the child node and try to load the schemaAdditional Information
No response