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 null issues with URI conversion, add tests #1211

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

pkukielka
Copy link
Contributor

Fixes #1202 and similar

Changes

Added additional check in case of null components of URI are received, added tests.

Test plan

Automatic tests added

@pkukielka pkukielka force-pushed the pkukielka/fix-url-conversion branch 2 times, most recently from 4221318 to 09af87b Compare March 28, 2024 11:46
${{ runner.os }}-gradle-
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.1.0
- name: Setup Gradle with caches enabled
Copy link
Contributor

Choose a reason for hiding this comment

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

is gradle/gradle-build-action@v2 with caches enabled by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't make it to work on windows without bigger build structure refactoring, so I'm backing off from this.

.serializeNulls()
.create()

fun roundtripConversion(path: String) =
Copy link
Contributor

Choose a reason for hiding this comment

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

🌍

Copy link
Contributor

@mkondratek mkondratek left a comment

Choose a reason for hiding this comment

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

this is fine 🚀

@pkukielka pkukielka force-pushed the pkukielka/fix-url-conversion branch 10 times, most recently from 3dedc62 to bc5ff09 Compare March 28, 2024 14:22
@pkukielka pkukielka force-pushed the pkukielka/fix-url-conversion branch from bc5ff09 to b85e29b Compare March 28, 2024 15:31
@pkukielka pkukielka merged commit 143982e into main Mar 28, 2024
5 checks passed
@pkukielka pkukielka deleted the pkukielka/fix-url-conversion branch March 28, 2024 16:09
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.

bug: java.lang.UnsupportedOperationException: JsonNull
2 participants