graphql-python / graphql-python/graphene-sqlalchemy
Default sort
Aperta
enhancement
- Lingua principale
- Python
- Stelle
- 985
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.