Skip to content

add couchbaseJsonValueModule bean to AbstractCouchbaseConfiguration #1130

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

Closed
mikereiche opened this issue Apr 22, 2021 · 1 comment · Fixed by #1132
Closed

add couchbaseJsonValueModule bean to AbstractCouchbaseConfiguration #1130

mikereiche opened this issue Apr 22, 2021 · 1 comment · Fixed by #1132
Labels
type: bug A general bug

Comments

@mikereiche
Copy link
Collaborator

mikereiche commented Apr 22, 2021

https://forums.couchbase.com/t/setting-json-deserialisation-features-in-java-sdk-3/30215/6

We Could change contentAsObject() to always use JacksonTransformers.bytesToJsonObject() so it doesn't depend on the user registering the correct module. What do you think?
Should also add another preflight check and fail if JsonValueModule isn't registered.

@mikereiche mikereiche added the type: bug A general bug label Apr 22, 2021
@mikereiche
Copy link
Collaborator Author

This is a "feature" but I've marked it as a bug a as it really should have been like that in the first place.

@mikereiche mikereiche changed the title contentAsObject() to always use JacksonTransformers.bytesToJsonObject() so it doesn't depend on the user registering the correct module add couchbaseJsonValueModel bean to AbstractCouchbaseConfiguration Apr 22, 2021
@dnault dnault changed the title add couchbaseJsonValueModel bean to AbstractCouchbaseConfiguration add couchbaseJsonValueModule bean to AbstractCouchbaseConfiguration Apr 22, 2021
mikereiche added a commit that referenced this issue Apr 23, 2021
mikereiche added a commit that referenced this issue Apr 26, 2021
mikereiche added a commit that referenced this issue May 5, 2021
mikereiche added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant