Skip to content

[CHAPTER 4] graphql.js api 오류 #1

@leon4705

Description

@leon4705

tutorial에 있는 graphql.js에 문제가 있는 것 같습니다.
ApolloServer의 createHandler로 사용할 때 Bad Request(400) 오류가 나옵니다.
최신 ApolloServer 코드에서는 startServerAndCreateNextHandler로 사용하도록 되어 있고, 실제로 잘 동작됩니다.
그러나 완전하진 않습니다. "API handler should not return a value, received object." 오류가 있습니다.
graphql.js 코드의 최신화 계획이 있습니까?

There seems to be a problem with the graphql.js in the tutorial.
A Bad Request (400) error appears when using it as ApolloServer's createHandler.
In the latest ApolloServer code, it is supposed to be used as startServerAndCreateNextHandler, and it works really well.
But it's not perfect. "API handler should not return a value, received object." There is an error.
Are there any plans to update the graphql.js code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions