-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix(angular-query-experimental): allow returning undefined in initialData function #7351
fix(angular-query-experimental): allow returning undefined in initialData function #7351
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 4cfa6ff:
|
It seems like the styling changes were done automatically on commit by lint-staged. Let me know if you think something in my set up is wrong and it shouldn't have happened. |
fc00927
to
f579962
Compare
I fixed the prettier issue |
f579962
to
97f4a62
Compare
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.
can you please fix it for react-query
adapter as well, and also have the test there? Thanks 🙏
@TkDodo Done! |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 80053f1. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
@TkDodo @arnoud-dv Can this be merged? |
eba777f
to
4cfa6ff
Compare
Looks good to me, @TkDodo agree if we merge this? |
sorry, this somehow slipped through my queue. will merge now. |
Fix incorrect types that disallowed that. This is necessary because the initialData function can typically read cache synchronously and need to be able to signal to the query if there is a cache miss and an actual fetch needs to be deployed.
Fixes #7341
No breaking changes, any code that worked before should work now as well.