graphql-python / graphql-python/graphene
input object type meta
Aperta
✨ enhancement
- Lingua principale
- Python
- Stelle
- 8.2k
- Fork
- 818
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
is there any way to pass a model as meta class to InputObjectType class?
like this:
```
class GasUnitInput(graphene.InputObjectType):
class Meta:
model = GasUnit
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reading InputObjectType and its Meta configuration, using the GasUnit example to clarify the requested behavior. Determine whether Meta.model should be supported for input objects and define what a complete, tested outcome would be for that case.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100