async-graphql / examples

217 stars 54 forks source link

New Federation Examples #60

Closed dbanty closed 1 year ago

dbanty commented 1 year ago

I tried to stuff an example of every federation directive into the examples repo while keeping with the theme of the existing examples. There are probably better ideas for how to demo each schema, so ideas are welcome! These all rely on the latest fed2 code now on master 🥳.

I also switched from Apollo Server + Gateway to rover dev since I think that's a more accessible experience now, but we can put it back if you disagree.

Lastly, I hosted the schema on Apollo Studio so people could see how it looks all put together and the SDL for each subgraph. This might be a bad idea though, because it could fall out of date unless we add schema publishing to CI 🤔. Let me know if you want me to go down that road or just pull out the studio link.

sunli829 commented 1 year ago

I also switched from Apollo Server + Gateway to rover dev since I think that's a more accessible experience now, but we can put it back if you disagree.

Agree, I love using Rust for everything.

Lastly, I hosted the schema on Apollo Studio so people could see how it looks all put together and the SDL for each subgraph. This might be a bad idea though, because it could fall out of date unless we add schema publishing to CI 🤔. Let me know if you want me to go down that road or just pull out the studio link.

It would be better if it could be deployed in CI, if it was easy to do. 🙂