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

Migrate all validation related imports to Jakarta #442

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

andreas-schilling
Copy link
Contributor

@andreas-schilling andreas-schilling commented Oct 13, 2023

Fixes #455

@@ -839,8 +839,8 @@ public void testEnumComplexMapping( final KnownVersion metaModelVersion ) {
+ "['properties']['description']['enum'][0]" ) ).isEqualTo( "Result succeeded" );
assertThat( context.<String> read( "$['components']['schemas']['ResultGood']['properties']['details']"
+ "['properties']['message']['enum'][0]" ) ).isEqualTo( "Evaluation succeeded." );
assertThat( context.<Double> read( "$['components']['schemas']['ResultGood']['properties']['details']"
+ "['properties']['numericCode']['enum'][0]" ) ).isCloseTo( 10.0d, Percentage.withPercentage( 1.0d ) );
assertThat( context.<Integer> read( "$['components']['schemas']['ResultGood']['properties']['details']"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure myself about this one. I wondered how this ever worked, because it was never a float/double value.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, the same question)
you are totally right..)

I found, that the build pipelines every time working like we expect, but in my local env I was getting this error...

But I did the same fix in my PR - #441

@atextor atextor force-pushed the feature/migrate-to-jakarta branch from 9b4a652 to f6e2b13 Compare October 19, 2023 14:18
@atextor
Copy link
Contributor

atextor commented Oct 19, 2023

Rebased to main

@atextor atextor merged commit 8d39df9 into main Oct 20, 2023
2 checks passed
@atextor atextor deleted the feature/migrate-to-jakarta branch October 20, 2023 04:38
@github-actions
Copy link

Release v2.4.0 addresses this.

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.

[Task] Use jakarta instead of javax validation namespace
3 participants