Closed prasu-05 closed 2 months ago
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
@derberg this issue should be labled a bug right?
hmmm π€ I'm 99.999% sure this is not a bug. It looks like you're not using the publish
and subscribe
verbs correctly:
subscribe:
operationId: receiveGameUpdates
A subscribe
operation means that others can subscribe to this channel to receive this message. Therefore, your app should send it:
subscribe:
operationId: sendGameUpdates
I know it's counterintuitive and that's why we removed publish
and subscribe
in v3 and changed the "point of view". So now, in v3, send
actually means what you expected, that your app is sending the message. Therefore, send
maps to subscribe
and receive
to publish
.
We have written a lot about this in the past trying to minimize the impact of this confusing design in v2.x. I recommend you read this one: https://www.asyncapi.com/blog/publish-subscribe-semantics. Hopefully, you won't have to deal with this problem anymore once you migrate to v3 π
I'm closing but feel free to reopen if you think I'm missing something π
Buggy Auto Schema Update on Studio UI
Describe the bug The Schema auto update conversion shown on Studio UI is buggy and produces wrong schema(pub and sub messages are interchanged). I faced the issue for converting my asyncschema from version 2.6.0 to version 3.0.0
How to Reproduce Try to convert the below schema to latest version using studio UI
Expected behavior The Conversion should be correct