Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create directives for arguments validation #78

Open
todo bot opened this issue Aug 27, 2019 · 0 comments
Open

Create directives for arguments validation #78

todo bot opened this issue Aug 27, 2019 · 0 comments

Comments

@todo
Copy link

todo bot commented Aug 27, 2019

// @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.
@todo todo bot added the todo 🗒️ label Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants