Skip to content

mapping group properties need to be extendable #3

Description

@metagn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    usabilityproblem with the practicality of the current design/implementation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions