graphql-python / graphql-python/graphql-core-legacy

Help with custom Directives

Open
#151 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
372
Forks
175
PR merge metrics
No merged PRs in 30d

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]),
)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.