Skip to content

Create directives for arguments validation #78

Open
@todo

Description

@todo

// @makeAnIssue Create directives for arguments validation
if (!Validator.string(name)) throw new UserInputError('Invalid name length');
if (!Validator.string(description, 0)) throw new UserInputError('Invalid description length');
const [ workspace ] = await new Membership(user.id).getWorkspaces([ id ]);


This issue was generated by todo based on a @makeAnIssue comment in 2c9a626 when #77 was merged. cc @codex-team.

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