We should be able to define an item type for attributes of the list kind in the schema. For example, a user might want to create an attribute on a node of kind list, but the items in the list need to be an IP address, or numbers, or ...
List[IPHost], List[Number], ...
Describe the Use Case
I want to be able to store IP prefixes in an attribute of a service level object, the prefixes represent a list of IP addresses that are available for the service to create.
Today I would be able to define an attribute of kind list, but it is not possible to force validation of the item types.
Another use case is a list of IP addresses you want to store for a whitelist.
Component
API Server / GraphQL
Describe the Feature Request
We should be able to define an item type for attributes of the list kind in the schema. For example, a user might want to create an attribute on a node of kind list, but the items in the list need to be an IP address, or numbers, or ... List[IPHost], List[Number], ...
Describe the Use Case
I want to be able to store IP prefixes in an attribute of a service level object, the prefixes represent a list of IP addresses that are available for the service to create.
Today I would be able to define an attribute of kind list, but it is not possible to force validation of the item types.
Another use case is a list of IP addresses you want to store for a whitelist.
Additional Information
No response