-
Notifications
You must be signed in to change notification settings - Fork 30
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
generate functions for sending messages #226
Comments
Hello @derberg , i am new to asyncapi i want to work on this can you tell me more about it.. |
hey, thanks, but it is already in progress in #220 PR |
Okay , is their any other issue available ?? for new comer ... |
@PUNEET-EMM maybe have a look at https://www.asyncapi.com/community/dashboard |
@PUNEET-EMM #220 Has been merged, would you like to work on this issue ? @derberg I hope we still need this. |
yeah definitely, as for now to send a message somebody has to use client app api directly for sending, and remember topics names, instead of using a generated send functions, like we have for receiving |
Hey @derberg i want to solve this , but i need a little bit more clarity on the issue |
sure, what do you need me and @kaushik-rishi are here to help |
can you elaborate some more details on the issue ? |
it's hard without specific question you need to get this template, generate code using readme instruction and play with https://github.com/asyncapi/nodejs-template/blob/master/test/example/script.js example script. you can see that in the example script, available generated client have helpers like Problem is with sending, to send a message you have to manually write code like
as you can see, the topic address is hardcoded, and person that writes this code, need to look into docs, and make sure they use proper topic. Better would be if client would already give you access to |
After we merge #220 the last bad user experience is 👇🏼
we should generate
so later user can just do:
The text was updated successfully, but these errors were encountered: