graphql-python / graphql-python/graphql-core-legacy
Help with custom Directives
- Langage dominant
- Python
- Étoiles
- 372
- Forks
- 175
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello to the community, I would like to know if it is not possible to define custom directives, according to the documentation of the **GraphQLSchema** class if possible, by explicitly declaring them in the schema constructor like this:
```python
MyAppSchema = GraphQLSchema(
...
directives=specified_directives.extend([MyCustomerDirective]),
)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start with the GraphQLSchema documentation and the schema constructor example in the issue. Check how specified_directives and MyCustomerDirective are represented and whether custom directives are covered by existing tests or examples. Done would require a clearly defined, supported behavior and corresponding documentation or tests, but this issue does not name files or a concrete change.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- graphql, python
- Domaine
- api, backend-api-design
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100