graphql-python / graphql-python/graphene-sqlalchemy

Default sort

Abierto
#398 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
985
Forks
223
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

It would be great if `SQLAlchemyObjectType` allowed to configure a `default_value` of a `#sort_argument` method result.

```python
def sort_argument_for_object_type(
# ...
return Argument(List(enum), default_value=enum.default)
```

Right now there is no way to configure the `default_value` of the `Argument`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.