graphql-hive / graphql-hive/envelop
explore using envelop for validation
Open
kind/enhancement
- Dominant language
- No language data
- Stars
- 827
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
What if we could annotate input fields/args in SDL (or extension fields) with validation rules e.g. string length 50 and enforce the validation in the extended validation phase 🤔
People also use custom scalars for this 🤔
I personally prefer doing it within resolvers and avoid adding any scalars.
Talked with someone on Crisp who wishes to have something like that.
I think we could support all of those flows and let people choose what they want, but still give our opinion and recommendations on how we personally would do stuff.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.