-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
type definitions for loadAll #659
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 398b04d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 |
@@ -8,6 +8,29 @@ export * from './session' | |||
type LoadResult = Promise<{ [key: string]: QueryStore<any, {}> }> | |||
type LoadAllInput = LoadResult | Record<string, LoadResult> | |||
|
|||
// gets all the values from an object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@revnelson Do you mind adding this block to the loadAll
definition in your generated runtime and confirming if it fixes the issue? It seems to work for me but It'd be nice for someone to confirm it
* type definitions for loadAll * changeset * ✅ NEW: test for types * 🐛 FIX: TZ for tests * 🐛 FIX: pnpm (mb) Co-authored-by: jycouet <[email protected]>
Fixes #658
This PR contains more magic than all of pretty much all of houdini combined....
To help everyone out, please make sure your PR does the following:
pnpm run tests
andcd integration && pnpm run tests
pnpm changeset