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

[2.0] Data source enhancements #1362

Merged
merged 9 commits into from
Jul 17, 2018

Conversation

martijnwalraven
Copy link
Contributor

This PR enhances RESTDataSource with support for custom cache keys, overriding of TTLs, and request deduplication.

@martijnwalraven martijnwalraven merged commit ce38b63 into master Jul 17, 2018
@godspeedelbow
Copy link

🎉

@abernix abernix deleted the server-2.0/datasource-enhancements branch August 10, 2018 16:52
glasser added a commit to apollographql/datasource-rest that referenced this pull request Dec 3, 2022
Previously, the `url` on the `FetcherResponse` returned from an
HTTPCache would be set properly if this was an actual fetch, but set to
'' if it were read from the cache.

This issue was introduced in
apollographql/apollo-server#1362 (as part of the
initial creation of RESTDataSource) as part of allowing for custom cache
keys.

Fixes #35.
glasser added a commit to apollographql/datasource-rest that referenced this pull request Dec 5, 2022
Previously, the `url` on the `FetcherResponse` returned from an
HTTPCache would be set properly if this was an actual fetch, but set to
'' if it were read from the cache.

This issue was introduced in
apollographql/apollo-server#1362 (as part of the
initial creation of RESTDataSource) as part of allowing for custom cache
keys.

Fixes #35.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants