-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Avro union not displayed correctly in the bindings bloc #67
Comments
@M3lkior Hi! Sorry for late response, I was off in the previous week (to be more precise, I had holidays). I tested locally your schema and as I see (also you mentioned it in your comment), the payload for We have such an issues to handle validation for the bindings - asyncapi/parser-js#315 and as I see we should also handle transforming schemas in the bindings. I will move this issue to the avro parser repository. Do you have any questions? |
The problem is that we don't support the transforming of schemas in other places (like bindings) than |
hi @magicmatatjahu ; thanks for the reply ! it is clear and precise ! i hope this issue will be resolved soon :) |
i will take this issue and do a PR proposal :) |
hi @magicmatatjahu @fmvilas @derberg ; i submit a first proposal of the avro bindings bloc support, but only for the protocol |
* feat(kafka): add AVRO type in message key binding Refer to asyncapi/avro-schema-parser#67 * Update kafka/README.md Co-authored-by: Fran Méndez <[email protected]> Co-authored-by: Fran Méndez <[email protected]>
🎉 This issue has been resolved in version 0.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I use the avro-parser (usage of
avsc
files) in the AsyncAPI specification for my kafka messages payload and keyWhen i use a record definition with union fields (like
"type": ["null", { "type": "string", "avro.java.string": "String" }]
or "type": ["null", { "type": "int" }], the definition is not correctly displayed :Expected result
The display should be like the payload part (actually working like a charm with avro files):
Actual result
Steps to reproduce
Troubleshooting
The text was updated successfully, but these errors were encountered: