-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat: Queries, Queryable, and useQuery #2921
Conversation
🦋 Changeset detectedLatest commit: c8944cb The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 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 |
fd9957b
to
42eacff
Compare
42eacff
to
b9c5b7b
Compare
b9c5b7b
to
dca4df0
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e795722
to
586af8c
Compare
586af8c
to
ef1d51e
Compare
ee279cb
to
c64546b
Compare
d47848d
to
48e27c5
Compare
f750e4e
to
8377e0a
Compare
ed30623
to
5d3a298
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2921 +/- ##
=======================================
Coverage 98.70% 98.70%
=======================================
Files 117 117
Lines 2081 2085 +4
Branches 418 417 -1
=======================================
+ Hits 2054 2058 +4
Misses 16 16
Partials 11 11 ☔ View full report in Codecov by Sentry. |
3b96fe7
to
4608cf5
Compare
f8d6158
to
ad0a5d6
Compare
Motivation
Solution
Collection.query(queryFn)
is shorthand for taking an existing collection and just adding the process (like Collection.push, returns a schema)Mechanism
Schemas now have Args - this can be used to get possible args in useQuery()
Examples
Before
After
Before
After
Before
After
TODO
Followup
Open Questions