Skip to content

pubsub: type check input. fixes #500#501

Merged
ryanseys merged 2 commits intogoogleapis:masterfrom
stephenplusplus:spp--pubsub-publish-error-message
Apr 15, 2015
Merged

pubsub: type check input. fixes #500#501
ryanseys merged 2 commits intogoogleapis:masterfrom
stephenplusplus:spp--pubsub-publish-error-message

Conversation

@stephenplusplus
Copy link
Copy Markdown
Contributor

Fixes #500

This confirms every message provided to Topic#publish has a data property.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 14, 2015
@stephenplusplus stephenplusplus added the api: pubsub Issues related to the Pub/Sub API. label Apr 14, 2015
Comment thread lib/pubsub/topic.js Outdated

This comment was marked as spam.

@stephenplusplus stephenplusplus force-pushed the spp--pubsub-publish-error-message branch from 8277608 to eef7ce2 Compare April 15, 2015 14:19
@ryanseys
Copy link
Copy Markdown
Contributor

LGTM.

ryanseys added a commit that referenced this pull request Apr 15, 2015
@ryanseys ryanseys merged commit 64b6140 into googleapis:master Apr 15, 2015
sofisl pushed a commit that referenced this pull request Sep 16, 2022
sofisl pushed a commit that referenced this pull request Sep 27, 2022
sofisl pushed a commit that referenced this pull request Oct 5, 2022
sofisl pushed a commit that referenced this pull request Oct 5, 2022
sofisl pushed a commit that referenced this pull request Oct 8, 2022
sofisl pushed a commit that referenced this pull request Oct 11, 2022
Source-Author: Benjamin E. Coe <[email protected]>
Source-Date: Wed Aug 12 12:12:29 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 5747555f7620113d9a2078a48f4c047a99d31b3e
Source-Link: googleapis/synthtool@5747555
sofisl pushed a commit that referenced this pull request Oct 13, 2022
Source-Author: Benjamin E. Coe <[email protected]>
Source-Date: Wed Aug 12 12:12:29 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 5747555f7620113d9a2078a48f4c047a99d31b3e
Source-Link: googleapis/synthtool@5747555
sofisl pushed a commit that referenced this pull request Nov 9, 2022
sofisl pushed a commit that referenced this pull request Nov 10, 2022
GautamSharda pushed a commit that referenced this pull request Feb 3, 2026
Update npm scripts: add clean, prelint, prefix; make sure that lint and fix are set properly. Use post-process feature of synthtool.
sofisl pushed a commit that referenced this pull request Feb 4, 2026
GautamSharda pushed a commit that referenced this pull request Feb 5, 2026
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/940354f9-15cd-4361-bbf4-dc9af1426979/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@99c93fe
GautamSharda pushed a commit that referenced this pull request Feb 23, 2026
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/940354f9-15cd-4361-bbf4-dc9af1426979/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@99c93fe
GautamSharda pushed a commit that referenced this pull request Feb 26, 2026
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/940354f9-15cd-4361-bbf4-dc9af1426979/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@99c93fe
GautamSharda pushed a commit that referenced this pull request Mar 5, 2026
GautamSharda pushed a commit that referenced this pull request Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pubsub: unhelpful error message when trying to publish a string.

4 participants