-
Notifications
You must be signed in to change notification settings - Fork 31
Custom serializers for Google Protobuf Types #467
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
base: main
Are you sure you want to change the base?
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.
Can we add unit tests for these classes?
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
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.
LGTM modulo a small question.
|
||
static Stream<Arguments> durationDeserializationTestCases() { | ||
return Stream.of( | ||
// Duration with seconds and nanos |
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.
Do Java tests comments also end with a period?
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.
If its a full sentence, but not for short phrases.
jenkins merge |
What changes are proposed in this pull request?
Custom serializers for Google Protobuf Types. This is required because Jackson by default does not consider that such objects have a special serialization.
How is this tested?
Tested as part of supporting well known types
https://github.com/databricks/databricks-sdk-java/pull/459/files#diff-c3aa175ce608f5cd289331f74de4e21ddcd56fc195ec92b028f2e7d4a6d721e6
NO_CHANGELOG=true