Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme.md missing resolvers #86

Closed
linonetwo opened this issue Aug 6, 2016 · 3 comments
Closed

Readme.md missing resolvers #86

linonetwo opened this issue Aug 6, 2016 · 3 comments

Comments

@linonetwo
Copy link

In https://github.com/apollostack/apollo-server#options it missing resolvers:

schema: the GraphQLSchema to be used
context: the context value passed to resolvers during GraphQL execution
rootValue: the value passed to the first resolve function
formatError: a function to apply to every error before sending the response to clients
validationRules: additional GraphQL validation rules to be applied to client-specified queries
formatParams: a function applied for each query in a batch to format parameters before execution
formatResponse: a function applied to each response after execution

It actually be like this in the GitHunt example:

    graphiql: true,
    pretty: true,
    resolvers,  // 为 Schema 取数据的秘书
    schema,    // 定义数据的大佬
    context: {
      ...
    },

seems missing something?

@helfer
Copy link
Contributor

helfer commented Aug 6, 2016

@linonetwo We recently updated Apollo Server to Version 0.2, but GitHunt still uses version 0.1.5. We should fix that as soon as possible :)

@linonetwo
Copy link
Author

OK,so resolvers now is part of schema ? When being delivered into apollo-server

@linonetwo
Copy link
Author

It's interesting to see makeExecutableSchema hahaha, thanks for this quick updating.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
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