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

Add gitContext to checkPartialSchema mutation #1560

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/apollo-codegen-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-codegen-core",
"description": "Core generator APIs for Apollo Codegen",
"version": "0.36.0-alpha.1",
"version": "0.36.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-codegen-flow/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-codegen-flow",
"description": "Flow generator module for Apollo Codegen",
"version": "0.34.0-alpha.1",
"version": "0.34.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-codegen-scala/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-codegen-scala",
"description": "Scala generator module for Apollo Codegen",
"version": "0.35.0-alpha.1",
"version": "0.35.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-codegen-swift/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-codegen-swift",
"description": "Swift generator module for Apollo Codegen",
"version": "0.36.0-alpha.1",
"version": "0.36.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-codegen-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-codegen-typescript",
"description": "TypeScript generator module for Apollo Codegen",
"version": "0.36.0-alpha.1",
"version": "0.36.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apollo-graphql",
"version": "0.3.4-alpha.0",
"version": "0.3.4-alpha.1",
"description": "Apollo GraphQL utility library",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-language-server",
"description": "A language server for Apollo GraphQL projects",
"version": "1.16.0-alpha.1",
"version": "1.16.0-alpha.2",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g apollo
$ apollo COMMAND
running command...
$ apollo (-v|--version|version)
apollo/2.19.0-alpha.1 darwin-x64 node-v8.11.1
apollo/2.19.0-alpha.2 darwin-x64 node-v8.11.1
$ apollo --help [COMMAND]
USAGE
$ apollo COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo",
"description": "Command line tool for Apollo GraphQL",
"version": "2.19.0-alpha.1",
"version": "2.19.0-alpha.2",
"referenceID": "21ad0845-c235-422e-be7d-a998310df972",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
Expand Down
5 changes: 2 additions & 3 deletions packages/apollo/src/commands/service/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ export default class ServiceCheck extends ProjectCommand {
implementingServiceName: serviceName,
partialSchema: {
sdl
}
},
gitContext: await gitInfo(this.log)
});

task.title = `Found ${pluralize(
Expand Down Expand Up @@ -437,8 +438,6 @@ export default class ServiceCheck extends ProjectCommand {
.__schema as IntrospectionSchemaInput
};

await gitInfo(this.log);

const historicParameters = validateHistoricParams({
validationPeriod: flags.validationPeriod,
queryCountThreshold: flags.queryCountThreshold,
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-apollo",
"displayName": "Apollo GraphQL",
"description": "Rich editor support for GraphQL client and server development that seamlessly integrates with the Apollo platform",
"version": "1.11.0-alpha.1",
"version": "1.11.0-alpha.2",
"referenceID": "87197759-7617-40d0-b32e-46d378e907c7",
"author": "Apollo GraphQL <opensource@apollographql.com>",
"license": "MIT",
Expand Down