Skip to content

Required string argument should reject empty string #263

@STRML

Description

@STRML

In practice, you're going to want to be guarding this anyway, so strong-remoting may as well do it.

Given all the sloppy http coercion, there's in practice little difference between undefined, null, and ''. If I mark a string argument as required, I expect there to be an actual string there. Thoughts?

If you agree, (and also merge #260), I can form STRML@8a68689 into a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions