Repository navigation
Second iteration of new caching API - #3341
Merged
Merged
Conversation
👷 Deploy request for cloak-docs pending review.Visit the deploys page to approve it
|
* tokens -> key; list doesn't help much since it's already a separate
query
* cache { withKey } instead of cacheFromTokens/cacheFromKey; we can use
this to "chain" keys from an initial scope, currently global
Signed-off-by: Alex Suraci <[email protected]>
I think this part was OK, since the alternative is just concatenating them anyway; we just don't need to expose it directly to users. Signed-off-by: Alex Suraci <[email protected]>
kept the same list-of-keys structure internally so we can just yeet scoping values in there someday Signed-off-by: Alex Suraci <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
follow-up to #3287 which has a lot of discussion that led to the following changes:
cacheFromTokens->cache { withKey }; we can use this to "chain" keys from an initial scope, currently globalcacheFromTokens->cacheVolume(key: String!)- no scoping at the moment, but easy to add later