Skip to content

Commit

Permalink
add apollo.config.js and catch operation error
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Nov 12, 2018
1 parent a95dc6f commit 217498e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ packages/apollo-vscode/webview-content
packages/vscode-apollo/server
packages/vscode-apollo/webview-content
**/*.vsix

.env
10 changes: 10 additions & 0 deletions packages/apollo-language-server/apollo.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
client: {
name: "Apollo CLI",
service: "engine-api-prod"
},
engine: {
frontend: "https://engine-staging.apollographql.com",
endpoint: "https://engine-staging-graphql.apollographql.com/api/graphql"
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface CheckOperationsVariables {

export const CHECK_OPERATIONS = gql`
mutation CheckOperations(
$id: ID!
$operations: [QueryDocumentInput!]!
$tag: String
$gitContext: GitContextInput
Expand Down

0 comments on commit 217498e

Please sign in to comment.