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 requirement to access ObjectSerializer and incorrect caching argument DeserBean/SerBean #653

Merged
merged 1 commit into from Nov 8, 2023

Conversation

dstepanov
Copy link
Contributor

Now, the leveled prefix/suffix are passed by extending the argument metadata.

While fixing it, I discovered our key for maps of DeserBean/SerBean doesn't include annotations, and that can lead to one argument configuration being used for another one.

Copy link

sonarcloud bot commented Nov 8, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

86.5% 86.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

* @since 2.3.2
*/
@Internal
public class SerdeArgumentConf {
Copy link
Member

Choose a reason for hiding this comment

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

can this be a record? might have to replace arrays with lists

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's extended for now, but maybe I can improve it further.

@dstepanov dstepanov merged commit 2608645 into master Nov 8, 2023
10 of 11 checks passed
@dstepanov dstepanov deleted the pref branch November 8, 2023 13:46
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

3 participants