You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#272 had the side effect of specifying server in send messages mandatory.
I mean this worked with previous versions:
{
send: [{
payload: 'my message'
}]
}
but now it gives:
x Cannot read property 'protocol' of null
at file:///Users/khudadad/Projects/asyncapi/glee/dist/lib/functions.js:107:73
at Array.forEach (<anonymous>)
at file:///Users/khudadad/Projects/asyncapi/glee/dist/lib/functions.js:105:111
at Generator.next (<anonymous>)
at fulfilled (file:///Users/khudadad/Projects/asyncapi/glee/dist/lib/functions.js:4:58)
and I have to specify the server even if there is only one server:
If this was intentional, we need to update the docs and show better error messages.
I think we need to implement some kind of fallback to the default server if there is only one server. 🤔
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
#272 had the side effect of specifying
server
insend
messages mandatory.I mean this worked with previous versions:
but now it gives:
and I have to specify the server even if there is only one server:
If this was intentional, we need to update the docs and show better error messages.
I think we need to implement some kind of fallback to the default server if there is only one server. 🤔
cc: @Souvikns
The text was updated successfully, but these errors were encountered: