Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject custom directives #4872

Open
Masadow opened this issue Mar 13, 2024 · 0 comments
Open

Inject custom directives #4872

Masadow opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Masadow
Copy link

Masadow commented Mar 13, 2024

Hi,

validateDocument takes an additionalDirective parameter that could be given when instantiating Neo4jGraphQL class instead of using documentDirectiveTransformer after the validation of the schema.

This would prevent unexpected errors such as Object types need a way to be resolved for field because obviously, our custom directives did not add the resolvers upon validation time.

It seems to be a very simple addition but I don't have the time to commit to it unfortunately

@MacondoExpress MacondoExpress added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants