Skip to content
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

Regression: Handle undefined values on useReactiveQuery's query function #26988

Merged
merged 7 commits into from Oct 4, 2022

Conversation

tassoevan
Copy link
Contributor

@tassoevan tassoevan commented Sep 30, 2022

Proposed changes (including videos or screenshots)

According to https://tanstack.com/query/v4/docs/reference/useQuery, the query function must not return undefined values, a quirk that we've been ignoring.

Issue(s)

Steps to test or reproduce

Further comments

OC-259

@tassoevan tassoevan added this to the 5.2.0 milestone Sep 30, 2022
@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Merging #26988 (de0e65a) into develop (26941d5) will decrease coverage by 0.95%.
The diff coverage is 31.57%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #26988      +/-   ##
===========================================
- Coverage    41.02%   40.06%   -0.96%     
===========================================
  Files          801      829      +28     
  Lines        17908    18376     +468     
  Branches      1961     2019      +58     
===========================================
+ Hits          7346     7363      +17     
- Misses       10264    10714     +450     
- Partials       298      299       +1     
Flag Coverage Δ
e2e 40.06% <31.57%> (-0.96%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@tassoevan tassoevan marked this pull request as ready for review October 3, 2022 04:19
@tassoevan tassoevan requested a review from a team as a code owner October 3, 2022 04:19
@ggazzo ggazzo merged commit aa249a6 into develop Oct 4, 2022
@ggazzo ggazzo deleted the regression/reactive-queries branch October 4, 2022 04:53
@tassoevan tassoevan mentioned this pull request Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants