Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Schema validation #186

Open
ojongerius opened this issue Jun 7, 2018 · 0 comments
Open

Schema validation #186

ojongerius opened this issue Jun 7, 2018 · 0 comments

Comments

@ojongerius
Copy link
Contributor

ojongerius commented Jun 7, 2018

Validation of particularly createCommunityEvent is a big clunky. We could create an object, populate it with all the fields that are appropriate and do one validation instead. This can be re-used for the update function (#187) too.

Possible library that is up to date and fast would be https://github.com/epoberezkin/ajv

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant