Skip to content

actions don't get inferred when the type's fields are all optional #1423

Closed
@lourenci

Description

@lourenci

Hi, thanks for the library.

Probably, some mistake from my side. But, I don't get the action inferred when all the type's fields are optional. Shouldn't toolkit infer the action type by the generic of PayloadAction?

ok:
image

with error:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions