graphql-python / graphql-python/graphql-core-legacy
Help with custom Directives
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 372
- Forks
- 175
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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]),
)
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.