![]() ![]() tagName=tagName Name of the template literal tag used to identify template literals containing queries=queries Deprecated in favor of the includes flag key=key The API key to use for authentication to Apollo Queries *and* any client schema extensions includes=includes Glob of files to search for GraphQL operations. NOTE: The `-endpoint` flag is REQUIRED if using the May be used multiple times toĪdd multiple headers. header=header Additional header to send during introspection. excludes=excludes Glob of files to exclude for GraphQL operations. endpoint=endpoint The URL for the CLI use to introspect your service clientVersion=clientVersion The version of the client that the queries will be attached to clientReferenceId=clientReferenceId Reference id for the client which will match ids from client traces, will use clientName=clientName Name of the client that the queries will be attached to ![]() v, -variant=variant The variant of the graph in Apollo to associate this client to g, -graph=graph The ID for the graph in Apollo to operate client commands with. c, -config=config Path to your Apollo config file CommandsĬheck a client project against a pushed service USAGE It is now maintained separately in this repo.Īpollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.ĭisclaimer: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions. Note - Housekeeping: Apollo's GraphQL VSCode extension is no longer housed in this repository. ![]() We'll share detailed migration documentation when everything here is ready to be officially deprecated, but just a heads up in case you're planning on adopting anything here for a new project (which you still can of course if the tooling here works for you - support for this tooling will be minimal however). Most of the functionality in this repository has been replaced by newer projects and the rest will be soon. Note - Upcoming Deprecation Plans: We (Apollo) are working towards fully deprecating this repository and its related projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |