Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Custom directives run AFTER data injection #587

Open
gpaluk opened this issue Feb 6, 2021 · 1 comment
Open

Custom directives run AFTER data injection #587

gpaluk opened this issue Feb 6, 2021 · 1 comment

Comments

@gpaluk
Copy link

gpaluk commented Feb 6, 2021

Custom directives run after the data has been injected into the database and therefore unfit for the most obvious use-cases. For example, annotating a field with validation prior to being inserted into the database is not possible. The only alternative is to use a custom resolver for almost every field. This poses the problem that all graphql schema declarations would need to be annotated with neo4j_ignore thus rendering makeAugmentedSchema almost obsolete.

@michaeldgraham
Copy link
Collaborator

#608

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants