Skip to content
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

fix: pubsub UX minor fixes and refactor #360

Merged
merged 3 commits into from
Mar 21, 2023
Merged

fix: pubsub UX minor fixes and refactor #360

merged 3 commits into from
Mar 21, 2023

Conversation

malandis
Copy link
Contributor

@malandis malandis commented Mar 21, 2023

  • fix: subscribecalloptions should be required
  • chore: rename argument to item handler
  • refactor: move TopicSubscribe.Item to TopicItem

Addresses #343

* Returns the data read from the stream.
* @returns string | Uint8Array
*/
public value(): string | Uint8Array {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to submit an issue on this repo to start adding a json() option for values that automatically parses the value and returns a json object. It's a nice to have feature I've seen in other places like Postman that stands out as great DX

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds interesting. Can you share a link?

@malandis malandis merged commit d94fd5e into main Mar 21, 2023
@malandis malandis deleted the fix/minor-stuff branch March 21, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants