-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat: add support for request and reply pattern #795
Conversation
chore(release): v1.0.0-next.1
…message from oneOf (asyncapi#335)
chore(release): v1.0.0-next.2
chore(release): v1.0.0-next.3
chore(release): v1.0.0-next.4
dunno but can't refresh locally 🤷🏼 issue: reply for tested with https://raw.githubusercontent.com/asyncapi/spec/next-major-spec/examples/kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml and works like a charm issue: Playground crash. Cannot figure errors, strange as latest parser is used and the bug with kafka binding was supposed to be fixed there. Will investigate tested with https://raw.githubusercontent.com/asyncapi/spec/next-major-spec/examples/streetlights-kafka-asyncapi.yml issue: no operations rendered, just last but not least - I think #795 (comment) is broken again |
@derberg I added suggested changes. Kindly give it a look :) |
did you have a chance to check what is wrong here?
Operations are still empty also some issue with rendering of examples in reply |
@derberg Based on my investigation, The issue is actually related to the way Parser is handling the Operation traits. I get the list of Operations only when I get rid of the traits. cc @smoya |
Same as last time. Playground only renders when I remove the Message level bindings 🤷🏾♂️ |
@AceTheCreator I see for message issue you have created asyncapi/parser-js#877, and what about operations? maybe update |
so in this PR only styling of examples left? |
Yes |
@derberg Examples styling fixed |
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.
2 small comments + please update description to reflect current state of the PR
then we can merge
library/package.json
Outdated
"@asyncapi/protobuf-schema-parser": "3.0.0", | ||
"@asyncapi/parser": "^3.0.0-next-major-spec.7", |
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.
please use latest v3.0.0-next-major-spec.10
playground/package.json
Outdated
@@ -28,7 +28,7 @@ | |||
"react-scripts": "3.1.2" | |||
}, | |||
"scripts": { | |||
"start": "react-app-rewired start", | |||
"start": "react-app-rewired --openssl-legacy-provider start", |
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.
please revert, as with this I cannot start local playground anymore, and need to manually remove that flag
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
added suggested changes @derberg |
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.
awesome hard work!
/rtm |
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR adds support for request and reply patterns by introducing a new component that renders reply information such as:
address
,description
,message(s)
and so onaddress
,location
, anddescription
AsyncApi.React.Playground.App.-.16.November.2023.mp4
This PR also fixes the PUB/SUB reversal experienced in this issue #815
cc @jonaslagoni @magicmatatjahu