Skip to content

Throw type error if non-object passed to method #42

Open
@razor-x

Description

@razor-x

All standard methods require an object as the first param. If a non-object is passed in, throw a custom error. This improves the DX for non-typescript users. We need to update the code gen to include this logic only for methods that actually do require an object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions