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

MongoDB update #449

Merged
merged 4 commits into from
Jul 6, 2023
Merged

MongoDB update #449

merged 4 commits into from
Jul 6, 2023

Conversation

sdelamo
Copy link
Contributor

@sdelamo sdelamo commented Jul 6, 2023

No description provided.

@@ -73,7 +74,7 @@ class SerdeCodec<T> implements Codec<T> {
@Override
public T decode(BsonReader reader, DecoderContext decoderContext) {
try {
return deserializer.deserialize(new BsonReaderDecoder(reader), this.decoderContext, argument);
return deserializer.deserialize(new BsonReaderDecoder(reader, LimitingStream.DEFAULT_LIMITS), this.decoderContext, argument);
Copy link
Contributor

Choose a reason for hiding this comment

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

@sdelamo Compile was failing without this. The change is introduced in micronaut-projects/micronaut-serialization#496
Maybe they should left default constructor and pass default like this. Not sure if this is correct fix, but there is no config for this currently in mongodb. Maybe @yawkat can advise what is the correct approach here

Copy link
Contributor

@radovanradic radovanradic Jul 6, 2023

Choose a reason for hiding this comment

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

Now test is failing because platform includes serde M12 and this change is in M13

@sonarcloud
Copy link

sonarcloud bot commented Jul 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@sdelamo sdelamo merged commit fa4168c into master Jul 6, 2023
@sdelamo sdelamo deleted the rc5 branch July 6, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants