Skip to content

Inject custom directives #4872

Open
Open
@Masadow

Description

@Masadow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions