Skip to content

Payload typing #93

@656d696c65

Description

@656d696c65

At the moment, the payload is typed as

type Payload = Record<string, unknown> | {
        [key: string]: unknown;
    } | null | undefined;

It is not possible to add a more specific type. It could be interesting to have the possibility to specify a schema and rely on type inference.

(Maybe looking at something like this to accept multiple valdiation libs ? )

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