Skip to content

Add input validation to all function parameters #296

@anthonyting

Description

@anthonyting

Many of the function parameters cause unexpected errors when they're used with the wrong parameters. This is less likely if the customer uses TypeScript, but can easily happen with JavaScript or if they are casting types incorrectly.

We should validate all our function parameters to throw better errors immediately instead of failing later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlanguage-sdkIssue relates to the Language SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions