Skip to content

makeExecutableSchema leads to strange directive behavior #1462

Closed
@morleytatro

Description

@morleytatro

Perhaps this is user error, but I noticed that running the following query when using makeExecutableSchema, the error coming back is connected to the BookInput type.

mutation {
    createAuthor(input: {
        name: "M"
    })
}

Here's a repo both with and without makeExecutableSchema used:
https://github.com/morleytatro/graphql-tools-bug

Notice the difference in results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions