Codegen from Apollo executableSchema
object
#1046
Labels
🤖 component - codegen
related to the codegen core packages
executableSchema
object
#1046
This is a feature proposal which would be the third option of
service
to achieve codegen.Problem
I need to launch a GraphQL server on CI even though I don't need it.
__generated__
.yarn codegen
:executableSchema
objectapollo client:codegen
commandLaunching a server is redundant, since we have
apollo-link-schema
which make it possible to communicate with GraphQL without HTTP servers.Solution
Why don't we accept the third option for
service
inapollo.config.js
like this:which is passed as a parameter to
SchemaLink
ofapollo-link-schema
.I know Apollo Tooling avoids implementing Apollo Server-specific features, but I think it's efficient for Apollo toolset users.
The text was updated successfully, but these errors were encountered: