-
Notifications
You must be signed in to change notification settings - Fork 192
Support for YearMonth Reading and Writer Converters #1720
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
Labels
type: enhancement
A general enhancement
Milestone
Comments
Hi - did you want to add this to spring-data-couchbase/src/main/java/org/springframework/data/couchbase/core/convert/OtherConverters.java and then add a test case to spring-data-couchbase/src/test/java/org/springframework/data/couchbase/core/mapping/MappingCouchbaseConverterTests.java ? The last line of the commit comment needs to be: Closes #1720.
|
mikereiche
added a commit
that referenced
this issue
Apr 21, 2023
Merged
mikereiche
added a commit
that referenced
this issue
Jun 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, wanted to ask if this library can support the java.time.YearMonth class as a custom date converters. This object is very useful for storing credit card expiration dates that only require year and month with no other time unit. We have been using all of the out of box converters and this is the only one we have left that requires us to implement our own custom converter and think it would be useful for other users. This is what we have and then override customConversions() in the AbstractCouchbaseConfiguration class. Many thanks for considering it!
The text was updated successfully, but these errors were encountered: