-
Notifications
You must be signed in to change notification settings - Fork 731
Fixed ambiguity when using Should on a JsonNode derived class #3102
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
Fixed ambiguity when using Should on a JsonNode derived class #3102
Conversation
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
|
Thanks for the fix. I somehow completely missed this scenaroi. @jnyrup technically this is a breaking change, but given we only released 8.7 yesterday, I'm fine shipping this as 8.7.1. What do you think? |
8d8a616 to
34252ba
Compare
|
Hi All. I've incorporated your feedback. Please let me know what you think. I've also updated the documentation and the release notes and checked the spelling. I hope that all looks OK. Finally, I've changed the name of the PR, as the compile error wasn't limited to the I'm now off to watch a movie. Perhaps some classic horror 🤔, maybe something from John Carpenter. |
|
Thanks for the contribution and enjoy the movie. |
|
Thanks for this fix @JSkimming I've been watching Tron Legacy with my son last night. It's from 2010 and he's from 2012 ;-) |
Pull Request Test Coverage Report for Build 18064626329Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
|
Thanks for responding so quickly. I ended up watching From Dusk Till Dawn. I hope your son enjoyed Tron Legacy @dennisdoomen. I've taken my kids on a classic movie journey. Enjoy it. |
…assertions#3102) (cherry picked from commit cf9a506)
The first commit demonstrates the issue; the second commit proposes a solution.
The third commit makes the
JsonNodeAssertionsgeneric, which propagates the type safety of theSubject.Fixes #3103
IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcomeCONTRIBUTOR LICENSE GRANT
By submitting this contribution, the contributor hereby irrevocably grants to the project owners and maintainers a perpetual, worldwide, royalty-free, irrevocable license to use, reproduce, modify, distribute, sublicense, and create derivative works of the contribution for any purpose and under any terms, including proprietary licensing.
The contributor waives any moral rights in the contribution to the extent permitted by law and agrees not to assert any claim of authorship or control over the contribution. The contributor represents that they are the sole author of the contribution and that it is provided free of any third-party claims.
The contributor understands and agrees that the maintainers may, at their sole discretion, use, license, or redistribute the contribution as part of any work and under any terms they choose, without further permission or attribution.