Skip to content

Update should accept a Partial Model as first parameter #185

Description

@victorivens05

The first parameter for update is values: object, where anything can be passed as a parameter, as in the line:

values: object,

I think it should be values: Partial<M>. That way we could be confident that if we change a parameter in any model, we would see the error, since the value would only accept values present in the model.

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