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

feat(composition): default to routing url from graph registry #873

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

Back in #519 we had a TODO to default to the routing URL in the graph registry for a subgraph when doing supergraph compose locally. This PR makes that happen - might be considered a breaking change? maybe? if you like, somehow relied on leaving routing_url blank and had something in the graph registry, that url will now be used. quick workaround is to just set routing_url = "" if for some reason you really must omit URLs from your supergraph SDL.

In all reality this is more like a "fixing" change where we'll just "do the right thing" by getting the url from the registry, or errors will show up rather than producing invalid supergraph SDL without the URLs.

@EverlastingBugstopper EverlastingBugstopper force-pushed the avery/fixup-supergraph-compose branch 3 times, most recently from 73fbef3 to 6c6b21c Compare October 19, 2021 16:54
@EverlastingBugstopper EverlastingBugstopper merged commit de2e61b into main Oct 19, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/fixup-supergraph-compose branch October 19, 2021 17:02
@EverlastingBugstopper EverlastingBugstopper added this to the 0.4.0 milestone Oct 19, 2021
This was referenced Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant