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

Enterprise merge demo branch #2934

Closed
wants to merge 33 commits into from
Closed

Conversation

JacksonKearl
Copy link

@JacksonKearl JacksonKearl commented Jun 27, 2019

This contains the changes from #2914, #2911, #2915, and #2933 all rolled into one branch for testing things out and experiemnting with APIs and whatnot.

I'll be making more changes to those PR's as suggested, so this branch will probably go stale quick ans should not be the branch that ends up being merged.

const { ApolloServer } = require("apollo-server");
const { ApolloGateway } = require("@apollo/gateway");

const gateway = new ApolloGateway({
  apiKey: "blah:blah:32423",
  tag: "staging"
});

(async () => {
  const server = new ApolloServer({gateway: await gateway.load()}); // apiKey and tag are threaded through
  server.listen().then(({ url }) => {
    console.log(`🚀 Server ready at ${url}`);
  });
})();

Jackson Kearl added 30 commits June 24, 2019 13:22
(mainly directly copied from enterprise gateway)
This enables config after construction.
This reverts commit 4629465, reversing
changes made to de238e5.
@jbaxleyiii
Copy link
Contributor

@JacksonKearl this is so awesome! I'll review it more this afternoon but 🎉

@JacksonKearl JacksonKearl self-assigned this Jun 27, 2019
@abernix abernix deleted the enterprise-merge-demo-branch branch February 25, 2020 21:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants