-
Notifications
You must be signed in to change notification settings - Fork 194
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
Document how to use Java 8 Time (JSR 310) objects #251
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's document this in https://github.com/opensearch-project/opensearch-java/blob/main/USER_GUIDE.md, please.
I'm not clear what/where should be documented. This is mostly an internal implementation detail that should be transparent to users. Are you suggesting adding another field to the sample data? I could add a JSR310 class like Duration, but the USER_GUIDE example barely even touches the full range of Java classes, sticking to String examples. |
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this! Nit below otherwise LGTM.
Signed-off-by: Daniel Widdis <widdis@gmail.com>
@dblock LGTM? |
Signed-off-by: Daniel Widdis widdis@gmail.com
Description
Updates docs to show how to serialize/deserialize classes from JSR-310 (Java 8) Date and Time API
Issues Resolved
Fixes #250
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.