Skip to content

configuration mapping for custom datatypes #29

@hohwille

Description

@hohwille

a well structured data-model makes use of datatypes. In JSON they are hidden away and get regular strings. Still they constraints associated with the datatype are required in the client.
Hence I would expect a feature to configure a mapping such as "io.github.project.type.Email": {"email": {...}" or "io.github.project.type.GermanPostalCode": {"pattern": { "value": "[0-9]{5}"}}.

Without such feature I am using a generic code generator and write templates for the generation myself instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions