Currently:
const Json = MappingGroup"json"
Then parameters use static MappingGroup.
The obvious thing here is to use a type. But it might be easier to do things in value form.
A user should be able to group things together after the fact, i.e.
const SnakeCase = group(Json, Yaml)
This would be the inverse of what inheritance provides (although the inheritance direction is also fine to have).
These need to be attachable to the format types as well or vice versa. Some kind of link between the two.
An idea is to use an extensible enum with knot but feels early to be doing this.
Currently:
Then parameters use
static MappingGroup.The obvious thing here is to use a type. But it might be easier to do things in value form.
A user should be able to group things together after the fact, i.e.
This would be the inverse of what inheritance provides (although the inheritance direction is also fine to have).
These need to be attachable to the format types as well or vice versa. Some kind of link between the two.
An idea is to use an extensible enum with knot but feels early to be doing this.