Skip to content

Stricter typing for createHeadlessForm #244

@titivermeesch

Description

@titivermeesch

createHeadlessForm currently relies on JSONSchemaObjectType as schema input type and Fields as output type which does not provide any concrete JSON schema typing whatsoever.

It would be handy if createHeadlessForm accepts types like the ones coming from @types/json-schema as input and some well defined typings for the Fields type.

I see there are already TODOs in the codebase for this but still wanted to track it more explicitly here as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions