Skip to content

Commit

Permalink
Merge pull request #80 from mhvenkat/master
Browse files Browse the repository at this point in the history
update apollo federation version to 0.20.4 and fix GraphQLComponent require path in federation examples
  • Loading branch information
brianjquinn authored Oct 30, 2020
2 parents 05cfae7 + cae565c commit cadf33c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/federation/property-service/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const { ApolloServer } = require('apollo-server');
const GraphQLComponent = require('./lib');
const GraphQLComponent = require('../../../lib');
const PropertyDataSource = require('./datasource');
const resolvers = require('./resolvers');
const types = require('./types');
Expand Down
4 changes: 2 additions & 2 deletions examples/federation/reviews-service/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const { ApolloServer } = require('apollo-server');
const GraphQLComponent = require('./lib');
const GraphQLComponent = require('../../../lib');
const ReviewsDataSource = require('./datasource');
const resolvers = require('./resolvers');
const types = require('./types');
Expand All @@ -25,4 +25,4 @@ const server = new ApolloServer({

server.listen().then(({ url }) => {
console.log(`🚀 Server ready at ${url}`)
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"repository": "https://github.com/ExpediaGroup/graphql-component",
"license": "MIT",
"dependencies": {
"@apollo/federation": "^0.10.3",
"@apollo/federation": "^0.20.4",
"cuid": "^2.1.8",
"debug": "^4.1.1",
"graphql-tools": "^6.0.10",
Expand All @@ -37,7 +37,7 @@
"apollo-server": "^2.13.1",
"casual": "^1.6.0",
"eslint": "^6.5.1",
"graphql": "^14",
"graphql": "^14.0.0 ",
"graphql-tag": "^2.10.3",
"nyc": "^14.1.1",
"tape": "^4.9.1"
Expand Down

0 comments on commit cadf33c

Please sign in to comment.