You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at these options, there are basically three categories of options:
Server options
cors
port
routes:
endpoint?: string
subscriptionsEndpoint?: string
playgroundEndpoint?: string
GraphQL options
schema: GraphQLSchema | { typeDefs, resolvers }
context
runtime:
tracing
rootValue?
formatError?
validationRules?
formatParams?
formatResponse?
Features
playground true | false
uploads { ... }
subscriptions true | false
Some of these are needed to set up the server (so at constructor time), others might be easier to set when starting the server (after applying your own logic). I'm not really sure yet how that division should work. I'll update this issue with more ideas. Please share your feedback too!
The text was updated successfully, but these errors were encountered:
Yoga options redesign
Currently, yoga has the following options:
These options can all be passed in to the constructor of the server.
Then there are the following apollo-server options that are not available yet:
Looking at these options, there are basically three categories of options:
Some of these are needed to set up the server (so at constructor time), others might be easier to set when starting the server (after applying your own logic). I'm not really sure yet how that division should work. I'll update this issue with more ideas. Please share your feedback too!
The text was updated successfully, but these errors were encountered: