-
Notifications
You must be signed in to change notification settings - Fork 0
Cu 21a0wgu - Update dependencies #2
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
| @@ -1,4 +1,4 @@ | |||
| CONTAINER_NAME=nats-request-multi-js_request-multi_1 | |||
| CONTAINER_NAME=nats-multi-request-js-request-multi-1 | |||
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.
I'm not 100% sure what the naming conventions here would be, but if we're reversing the naming from request-multi to multi-request, shouldn't we do it in both parts of this name?
| @@ -1,22 +1,27 @@ | |||
| # nats-request-multi-js | |||
| # nats-multi-request-js | |||
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.
It strikes me that the name is a little misleading, since technically it's a single request that could have multiple responses. But I'm not sure what a better name would be.
| const natsError = { ...natsErrorBase, code: "err", name: "err", message: "test error" }; | ||
| try { | ||
| await testRequestMulti(3, 3, { natsError: natsError }); | ||
| await testRequestMulti(3, 3, ({ natsError })); |
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.
Hm, I'm not sure you need the parentheses here, but if it works it's not a big deal.
| const natsError = { ...natsErrorBase, code: "err", name: "err", message: "test error" }; | ||
| try { | ||
| await testRequestMulti(3, 2, { natsError: natsError }); | ||
| await testRequestMulti(3, 2, ({ natsError })); |
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.
See above.
No description provided.