-
Notifications
You must be signed in to change notification settings - Fork 331
Add TestHarness, and assorted API breaking changes #1487
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f3601a0
Remove no-op use of make_service on axum’s Router
SimonSapin a66a665
Make constructors private when there’s a public builder
SimonSapin 4ee35e7
Rename enums *Kind -> *Source
SimonSapin 194ec7c
Rename ApolloRouter to RouterHttpServer
SimonSapin 53dbad6
Merge RouterHandle into RouterHttpServer
SimonSapin 4f10bc0
Replace router_builder_fn() with shutdown()
SimonSapin 772da4f
Add RouterHttpServer::shutdown
SimonSapin fb445b1
Revert glob imports at the crate root
SimonSapin 6e26603
Remove deprecated type aliases
SimonSapin 64e54bb
RouterRequest::fake_builder defaults to Content-Type: application/json
SimonSapin 472e315
Add apollo_router::TestHarness
SimonSapin 8b81aa5
Port rhai_tests to the new TestHarness
SimonSapin 5c65ca8
Port integration_tests to the new TestHarness
SimonSapin 537979c
Port apollo-router-benchmarks to the new TestHarness
SimonSapin 7dae42c
Port examples/embedded to the new TestHarness
SimonSapin f4b54a9
Make some things private
SimonSapin 889326c
Add apollo_router::stages, replacing apollo_router::services in the p…
SimonSapin e559002
Make more things private
SimonSapin 9d65cf0
Add ad-hoc plugins with callbacks in TestHarness
SimonSapin f60586c
Actually implement TestHarness::with_subgraph_network_requests
SimonSapin 909c56f
Add TestHarness::configuration_json
SimonSapin 2c6b5d9
Port apollo-router-scaffold to the new TestHarness
SimonSapin 33326e7
Port remaining examples/* to the new TestHarness
SimonSapin 0a79e20
Port telemetry::metrics::apollo to the new test harness
SimonSapin 3c17878
Remove PluginTestHarness, as it was replaced by TestHarness
SimonSapin d430813
Make Schema actually private
SimonSapin 3499374
Make plugins private
SimonSapin 56690db
Add apollo_router::stages::*::Result aliases
SimonSapin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tremendous effort on the changelog, that's really GREAT WORK 🎉
NIT: you can now update the PR #