-
Notifications
You must be signed in to change notification settings - Fork 0
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.0 #262
Merged
Merged
2.0.0 #262
Conversation
This file contains 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
* feat: useQwery hook * fix: proxy onChange for when a Promise is not returned, so onSuccess is not triggered
* types: rough types for useQweryOptions * fix: with makeMonitoredFetch, if a fetch is not enabled then it returns void so don't initialize the crdt in this case. update useRememberScroll to not execute server side
* test: add tests for useQwery, csr and ssr * chore: add gh actions
* fix: effects don't run in ssr so return initialValue if it is an object, up to client to await and use suspense or what not. also update renderSsr to remove window while calling ReactDOMServer * test: adding tests for async caches * style: remove unused import * types: update types * refactor: update QweryProvider * style: double quotes
squash fix(gqwery): allow query keys to handle multiple queries in a single request, and caching working for basic queries test(gqwery): update unit test test(gqwery): expect that each top level entity is linked correctly refactor: bring checking if the cached value is valid into the cache instead of the executor feat: supporting fragments test: add more todo test cases refactor: refactor tests for expected fields test: inline fragment support for expected fields refactor: approximateResponseShape -> toBlankResponse, clearValuesDeep -> toEmptyRecordDeep, objectFromEntriesDeep -> toRecordDeep refactor: bring everything cache related to the cache test: tests for weak graphql cache test: add additional expect to check reference fix: update comparison for cached response and requested fields refactor: mergeWith to blank a response refactor: remove toRecordDeep chore: update incremental test: tests with computeInitialQweryValue feat: unwrap graphql responses chore: update incremental
…ts (#239) * feat(react,vue,solid,svelte,gqwery): request manager to dedupe requests * style: lint * fix(react,vue,svelte,solid,gqwery): failing tests and update gqwery exports * feat: make RequestManager a singleton * fix: optional request manager * docs: adding comments * refactor: export QweryRequestManager type * types: update types for request store * chore: export RequestManager
* feat(gqwery): fetch executor * refactor: remove ability to specify a fetchFn
* feat(gqwery): support array of entities * fix: every item in array has to be an entity * fix: union types and lists * fix: reassigning references for entities which already exist * fix: update isMatch checks * docs: comments for pluck * test: tests for pluck * fix: update creation of getter for entities * refactor: simplify normalizeAndCache * refactor: simplify normalizedCache * refactor: simplify normalized cache more
* perf(gqwery): remove filter for entries * refactor(gqwery): simplify pluck
* fix(gqwery): pluck and circular references * fix(gqwery): update error message thrown * test(gqwery): update test for error * test(gqwery): update error message thrown
…et the merge from normalizeAndCache, otherwise just set (#257)
BREAKING CHANGE: Context is no longer just the cache store, request manager is also attached to it
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.
No description provided.