GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove bogus .value after calling toJSON() by vrana · Pull Request #314 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@vrana

@vrana vrana commented Feb 15, 2017

Copy link
Copy Markdown

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
vrana added 3 commits February 15, 2017 16:24
@vrana
Remove bogus .value after calling toJSON()
7500f09
@vrana
Remove bogus .value after calling toJSON()
8824103
@vrana
Remove bogus .value after calling toJSON()
ccb7c00
@jmdobry
jmdobry requested a review from ace-n February 15, 2017 18:27
@ace-n

ace-n commented Mar 6, 2017

Copy link
Copy Markdown
Contributor

Hi @vrana and thank you for the PR.

AFAICT, those value properties are necessary - the value of the json.SingerId object for instance is { [Number: 1] value: '1' }. Since we only want to print 1, we have to get the value property of that object.

The reason why we can't have json.SingerId === 1 is because Node doesn't support 64-bit integers by default (i.e. INT64s), while Spanner does. As a workaround, the Spanner client libraries use strings to store the value of an INT64. This object is necessary to differentiate between 1 (an INT64) and "1" (a String).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ace-n

ace-n commented Mar 6, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@vrana Also, I tried running this on my machine and noticed that the tests failed. In the future, can you make sure to run the tests before submitting a PR? (Assuming of course that this wasn't just me - if it was, please disregard.)

(You're welcome to make changes to the tests if needed - the main thing for us is that they pass.)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vrana

vrana commented Mar 7, 2017

Copy link
Copy Markdown
Author

This pull-request is bogus, sorry about it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vrana vrana closed this Mar 7, 2017
@snyk-bot snyk-bot mentioned this pull request Dec 23, 2020
[Snyk] Security upgrade @google-cloud/vision from 0.24.0 to 0.25.0 leejh3224/nodejs-docs-samples#290
Open
ahrarmonsur pushed a commit that referenced this pull request Nov 8, 2022
@release-please Benjamin E. Coe
chore: release 1.5.0 (#314)
1bb647a
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 8, 2022
samples: migrate code from googleapis/nodejs-monitoring #2807
Merged
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please @gcf-owl-bot
chore(main): release 3.1.2 (#314)
2520a8b
* chore(main): release 3.1.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2818
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please @gcf-owl-bot
chore(main): release 3.1.2 (#314)
dba2192
* chore(main): release 3.1.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2819
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please @gcf-owl-bot
chore(main): release 3.1.2 (#314)
bae504b
* chore(main): release 3.1.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2820
Closed
ace-n pushed a commit that referenced this pull request Nov 10, 2022
@release-please Ace Nassri
chore: release 1.5.0 (#314)
28e9b35
@pattishin pattishin mentioned this pull request Nov 11, 2022
migrate code from googleapis/nodejs-game-servers #2837
Merged
NimJay pushed a commit that referenced this pull request Nov 11, 2022
@release-please @gcf-owl-bot @NimJay
chore(main): release 3.1.2 (#314)
e40ec90
* chore(main): release 3.1.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@yoshi-automation @JustinBeckwith
chore: release 1.0.1 (#314)
6bed0eb
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
This was referenced Nov 14, 2022
migrate code from googleapis/nodejs-compute #2846
Closed
migrate code from googleapis/nodejs-compute #2853
Merged
@telpirion telpirion mentioned this pull request Nov 16, 2022
chore(vision): migrate code from googleapis/nodejs-vision #2858
Merged
telpirion pushed a commit that referenced this pull request Nov 16, 2022
@JustinBeckwith
fix: ignore case in system test assertions (#314)
0332637
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@leahecole @JustinBeckwith
test(samples): Update test with improved translation (#314)
9cd31da
@ace-n ace-n mentioned this pull request Nov 17, 2022
migrate code from googleapis/nodejs-translate #2862
Merged
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@leahecole Ace Nassri
test(samples): Update test with improved translation (#314)
6d690a6
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@leahecole Ace Nassri
test(samples): Update test with improved translation (#314)
ef665f2
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@leahecole Ace Nassri
test(samples): Update test with improved translation (#314)
1f66102
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@leahecole Ace Nassri
test(samples): Update test with improved translation (#314)
a1497df
ace-n pushed a commit that referenced this pull request Nov 21, 2022
@yoshi-automation Ace Nassri
chore: release 1.0.1 (#314)
fbb774a
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 21, 2022
@yoshi-automation Ace Nassri
chore: release 1.0.1 (#314)
b6f84a1
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
Shabirmean pushed a commit that referenced this pull request Feb 16, 2023
@yoshi-automation @JustinBeckwith
chore: release 1.3.1 (#314)
b26f00e
* updated CHANGELOG.md [ci skip]

* updated package.json [ci skip]

* updated samples/package.json [ci skip]
@Shabirmean Shabirmean mentioned this pull request Feb 16, 2023
samples: migrate code from googleapis/nodejs-dlp #3035
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ace-n ace-n Awaiting requested review from ace-n

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vrana @ace-n
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.