-
-
Couldn't load subscription status.
- Fork 3.5k
fix(angular-query): support required input signal #6928
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit bcf4af9. 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 1 targetSent with 💌 from NxCloud. |
|
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 bcf4af9:
|
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #6928 +/- ##
==========================================
+ Coverage 41.98% 42.06% +0.08%
==========================================
Files 179 180 +1
Lines 7039 7060 +21
Branches 1421 1422 +1
==========================================
+ Hits 2955 2970 +15
- Misses 3722 3727 +5
- Partials 362 363 +1 |
|
@arnoud-dv Not able to fill a documented issue right now but we are experiencing a NG0602 with the latest angular-query update
The error seems occur in all pages were we aren't using required signal inputs, this may be related to some timing issues. Currently we are downgrading the version, but as a workaround in that pages we were "initializing" the object in the constructor readonly query = injectQuery(() => ({
queryKey: [...],
queryFn: () => {
return lastValueFrom(...);
},
staleTime: Infinity,
retry: 2,
}));
constructor() {
void this.query.anyProperty;
} |
@riccardoperra Thank you for reporting this. Examples without required signal inputs are working for me. Do you have some more code for me to try to reproduce this? I think I can look at it this evening. |
|
Did a small repro 😄 https://stackblitz.com/edit/stackblitz-starters-4favya?file=src%2Fmain.ts It doesn't seem to be blocking, it seems to work but I wouldn't want that error to block effects used internally |


No description provided.