Skip to content

EnumValueApplyResolver do not get executedย #2861

@Artenuvielle

Description

@Artenuvielle

Summary

Extending the schema with a custom enum and creating a resolver function that should be applied in a given query does not execute the enum resolver function.

Steps to reproduce

Setup: benjie/ouch#42
Query:

query MyQuery {
  test(enum: DESC) {
    id
  }
}

Expected results

Console output should contain the following line twice to show the resolver has been executed:
"DESC========================"

Actual results

No such line is found in console output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    โœ… Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions