graphql-python / graphql-python/graphene

Having custom validation over scalars

Open
#1,070 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.2k
Forks
818
PR merge metrics
No merged PRs in 30d

Description

I need to pass some validation check when defining `Arguments` for Mutation. I know I can check it inside the `mutate` function but I need this check before that (similar to what we have in `marshmallow.validate` module: `Range` and `Length`).

I just want to know if there is any future plan to implement it inside the graphene or not.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how Graphene defines Arguments for Mutations and where scalar values are checked before mutate runs. Compare the requested behavior with marshmallow.validate Range and Length. Done would require an agreed validation design and documented scope, since the issue currently asks only whether future implementation is planned.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.