-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
Improve support for Apollo Federation 2.0 #2047
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2047 +/- ##
==========================================
+ Coverage 98.07% 98.09% +0.02%
==========================================
Files 147 152 +5
Lines 5909 6095 +186
Branches 1114 1160 +46
==========================================
+ Hits 5795 5979 +184
Misses 58 58
- Partials 56 58 +2 |
5ab8931
to
13c7465
Compare
13c7465
to
1af2508
Compare
/pre-release |
Pre-release👋 Pre-release 0.124.0.dev.1659690947 [73f6de5] has been released on PyPi! 🚀 poetry add strawberry-graphql==0.124.0.dev.1659690947 |
/pre-release |
/pre-release |
Thanks for adding the Here's a preview of the changelog: This release adds full support for Apollo Federation 2.0. To opt-in you need to @strawberry.federation.type(keys=["id"])
class User:
id: strawberry.ID
@strawberry.type
class Query:
user: User
schema = strawberry.federation.Schema(query=Query, enable_federation_2=True) This release also improves type checker support for the federation. Here's the preview release card for twitter: Here's the tweet text:
|
/pre-release |
093d0b4
to
dba4ee1
Compare
bb003a2
to
2152c8b
Compare
Description
While looking at #2044 I found some issues with our support for apollo federation, this PR addresses that, it also improves Mypy and Pyright support
Closes #1827
Types of Changes