-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Imperative Cache API #748
Merged
Merged
Imperative Cache API #748
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
🦋 Changeset detectedLatest commit: 947e848 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
AlecAivazis
force-pushed
the
imperative-api
branch
from
December 9, 2022 05:42
dbaee34
to
4fbe508
Compare
jycouet
approved these changes
Dec 17, 2022
Merged
endigma
pushed a commit
to endigma/houdini
that referenced
this pull request
Nov 10, 2024
* add schema manager * add public wrapper with instability warning * start on publicWrapper * can read/write scalar values * can retrieve linked records * can set linked records * fix schema manager test * validate idFields * add schema manager * add public wrapper with instability warning * start on publicWrapper * can read/write scalar values * can retrieve linked records * can set linked records * fix schema manager test * validate idFields * accomodate new selection structure * updated public api to new selection structure * imperative api data is garbage collected like normal * add back instability acknowlgement * rename test file * changeset * cache proxy can take a type definition for the schema * fix tests * embed args in cache description * use correct type for args * split pubic api into multiple files * remove unused file * clean up types * typedefs for lists and abstract types * tests for writing lists and unions pass * unused imports * fix comments * remove Proxy from names * add public List * add when to list api * add remove to list * remove placeholder tests * add list.toggle * add method to delete record * strengthen test * first pass at generating type defs * better nullability behavior * more better null handling * fake tests * use enum types * unused import * rename listwhen to filters * start on args * arg definitions can reference input types * support scalar lists * generated cache typedefitions use Records directly * fix typedefs * start on keys * add another todo test * compute complex keys * better test for complex keys * fix invalid imports * can write and retrieve nested nullable lists * test for embedded data * generate list filters * import Record from correct file * avoid duplicate processing of lists * fix nullability of fields args * comment * list act as proxies, not wrappers * iterating over an empty list behaves correctly * remove unused import
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.
closes #58, closes #61
This PR will track the progress of the first version of the imperative API. This release will not include the ability to mark data as stale or force queries to refresh. Those will come afterwards in order to keep the PRs as manageable as possible