-
Notifications
You must be signed in to change notification settings - Fork 136
chore: add samples for JSON #1375
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
Conversation
…nto json-sample # Conflicts: # google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractStructReader.java # google-cloud-spanner/src/main/java/com/google/cloud/spanner/StructReader.java # google-cloud-spanner/src/main/java/com/google/cloud/spanner/Value.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/ValueBinderTest.java # samples/snippets/src/main/java/com/example/spanner/SpannerSample.java # samples/snippets/src/test/java/com/example/spanner/SpannerSampleIT.java
|
Here is the summary of changes. You are about to add 3 region tags.
This comment is generated by snippet-bot.
|
samples/snippets/src/main/java/com/example/spanner/AddJsonColumnSample.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/main/java/com/example/spanner/QueryWithJsonParameterSample.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/main/java/com/example/spanner/SpannerSample.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/main/java/com/example/spanner/SpannerSample.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/test/java/com/example/spanner/SpannerSampleIT.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/test/java/com/example/spanner/SpannerSampleIT.java
Outdated
Show resolved
Hide resolved
olavloite
left a comment
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.
The samples look good to me, but I noticed that there are now no integration tests at all for these samples. Is that intentional? Normally we add tests for such standalone samples like this: https://github.com/googleapis/java-spanner/blob/master/samples/snippets/src/test/java/com/example/spanner/GetCommitStatsSampleIT.java
…nto json-sample
I added some tests to |
olavloite
left a comment
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
…nto json-sample
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> ☕️