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

Fix validation failing for nullable lists #1329

Conversation

papermana
Copy link
Contributor

Fixes #1328.

@MichalLytek
Copy link
Owner

Can you first add a failing test case and then push the fix commit where the tests are passing?

@MichalLytek MichalLytek self-requested a review August 16, 2022 14:13
@MichalLytek MichalLytek added Community 👨‍👧 Something initiated by a community Bugfix 🐛 🔨 PR that fixes a known bug labels Aug 16, 2022
@papermana
Copy link
Contributor Author

@MichalLytek That was a good idea. Done.

Copy link
Owner

@MichalLytek MichalLytek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🎉

@codecov
Copy link

codecov bot commented Aug 17, 2022

Codecov Report

Merging #1329 (5df71f1) into master (4e669fe) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1329   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files          79       79           
  Lines        1697     1700    +3     
  Branches      356      356           
=======================================
+ Hits         1630     1633    +3     
  Misses         66       66           
  Partials        1        1           
Impacted Files Coverage Δ
src/resolvers/validate-arg.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MichalLytek MichalLytek merged commit 643087b into MichalLytek:master Aug 17, 2022
@MichalLytek MichalLytek added this to In review in Board via automation Aug 17, 2022
@MichalLytek MichalLytek added this to the 1.2 release milestone Aug 17, 2022
@MichalLytek MichalLytek moved this from In review to Done in Board Aug 17, 2022
@papermana papermana deleted the fix-validation-failing-for-nullable-lists branch August 18, 2022 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix 🐛 🔨 PR that fixes a known bug Community 👨‍👧 Something initiated by a community
Projects
Board
  
Done
Development

Successfully merging this pull request may close these issues.

Validation fails if query arg is a list with null items
2 participants