File tree Expand file tree Collapse file tree
apollo-language-server/src
apollo/src/commands/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## Upcoming
44
55- ` apollo `
6- - <First ` apollo ` related entry goes here>
6+ - update ` client:push ` to pass the tag / graphVariant [ # 1307 ] ( https://github.com/apollographql/apollo-tooling/pull/1307 )
77- ` apollo-codegen-core `
88 - <First ` apollo-codegen-core ` related entry goes here>
99- ` apollo-codegen-flow `
Original file line number Diff line number Diff line change @@ -6,12 +6,14 @@ export const REGISTER_OPERATIONS = gql`
66 $clientIdentity: RegisteredClientIdentityInput!
77 $operations: [RegisteredOperationInput!]!
88 $manifestVersion: Int!
9+ $graphVariant: String
910 ) {
1011 service(id: $id) {
1112 registerOperationsWithResponse(
1213 clientIdentity: $clientIdentity
1314 operations: $operations
1415 manifestVersion: $manifestVersion
16+ graphVariant: $graphVariant
1517 ) {
1618 invalidOperations {
1719 errors {
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ export interface RegisterOperationsVariables {
272272 clientIdentity : RegisteredClientIdentityInput ;
273273 operations : RegisteredOperationInput [ ] ;
274274 manifestVersion : number ;
275+ graphVariant ?: string | null ;
275276}
276277
277278/* tslint:disable */
Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ export default class ClientPush extends ClientCommand {
8787 } ,
8888 id : config . name ,
8989 operations : operationManifest ,
90- manifestVersion : 2
90+ manifestVersion : 2 ,
91+ graphVariant : config . tag
9192 } ;
9293 const { operations : _op , ...restVariables } = variables ;
9394 this . debug ( "Variables sent to Apollo" ) ;
You can’t perform that action at this time.
0 commit comments