Skip to content

Add clearer doc for JSON schema's default keyword #258

@mothslaw

Description

@mothslaw

Is your feature request related to a problem? Please describe.
A common misconception is that the default keyword in JSON schemas means "If the user does not supply a value for this field, then the default value will be auto-substituted". But, that's not what it means. In fact, no auto-substitution is done by the engine or anyone else. Although, our UI does, in some cases, use the {{default}} to pre-fill widgets.

Describe the solution you'd like
In the doc, we should warn plugin developers of this potential misunderstanding.

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