`print_schema` does not prefix the `extend` keyword when Schema uses apollo federation
Closed this issue ยท 3 comments
garryod commented
Describe the Bug
The Apollo Federation V2 spec expects the SDL to define a schema extension using the keywords extend schema
. When print_schema
is used to produce the SDL for a federated schema only schema
is produced. This causes issues with other apps in the ecosystem such as the Apollo Router.
System Information
- Container:
docker.io/library/python:3.11
- Strawberry version (if applicable):
0.225.1
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
patrick91 commented
@garryod can you show me an example of issue caused by this? ๐ I remember it working fine in federation 2
garryod commented
I would love to, but I don't seem to be able to reproduce the issue like I could earlier, it may have been resolved when I upgraded the Apollo Router version ๐ค