-
Notifications
You must be signed in to change notification settings - Fork 43
Labels
priority/1This issue must be fixed/implemented ASAP, it's a blocker for a releaseThis issue must be fixed/implemented ASAP, it's a blocker for a releasestate/need-triageThis issue needs to be triagedThis issue needs to be triagedtype/bugSomething isn't working as expectedSomething isn't working as expected
Description
Component
API Server / GraphQL
Infrahub version
1.7.4
Current Behavior
setting generate_template: True on a GenericSchema will create an invalid GraphQL schema, which breaks the frontend and prevents any GraphQL queries/mutations from running
Expected Behavior
we should just prevent setting generate_template: True on a GenericSchema
Steps to Reproduce
- load a schema that includes a Generic with
generate_template=Trueand at least one Node that inherits from the Generic (generate_template can be either True or False) - the schema loads successfully, then the UI breaks
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority/1This issue must be fixed/implemented ASAP, it's a blocker for a releaseThis issue must be fixed/implemented ASAP, it's a blocker for a releasestate/need-triageThis issue needs to be triagedThis issue needs to be triagedtype/bugSomething isn't working as expectedSomething isn't working as expected