graphql-python / graphql-python/graphene

Having custom validation over scalars

Abierto
#1,070 17 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
8.2k
Forks
818
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend-api-design
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.