Open ogenstad opened 11 months ago
Another use case: I want to be able to define a "service" which represents an iBGP mesh. On that service I want to store the device roles that should be part of the mesh.
In the schema that we provide, device role is an attribute of kind Dropdown on an InfraDevice node. We could define device role as it's own node type and then build a relationship from the InfraDevice node, but then we would loose the nice benefits of the Dropdown.
So instead I want to use a List attribute on the service with a predefined set of values, out of which I can select one or more values. In an ideal scenario those values could come from a Dropdown attribute or Enum attribute on a different node.
Component
API Server / GraphQL
Describe the Feature Request
We should have an attribute type in the schema that allows for the selection of zero or more entries from a predefined list of options.
Today we have:
What we'd need is something that supports an attribute to have zero or more choices set from a list of options provided by the schema.
The primary use case for this is for #1448, where we want to define a webhook and choose from a list of events that would trigger a webhook.
Describe the Use Case
No response
Additional Information
No response