-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error in yaml file are no longer reported #200
Comments
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. |
Hi @SzymonMalczak |
any update on this? is there an upstream link? (i cannot find) |
@ivangsa But by simply upgrading the Am i missing something here which is causes this ? |
@catosaurusrex2003 can you have a look at this code: https://github.com/asyncapi/vs-asyncapi-preview/blob/master/src/PreviewWebPanel.ts#L142 maybe now we need to instantiate this with different parameters |
@ivangsa i found what the issue is. only the But even doing this wont make errors render. the problem is present in https://github.com/asyncapi/asyncapi-react/blob/master/library/src/containers/AsyncApi/Standalone.tsx The problem is that This might have been my short-sightedness while doing the PR. So the solution for this is to make it so that Pls correct me if i am wrong or if i am missing ourt on the bigger picture. |
@catosaurusrex2003 you know more than me about this propose what do you think is the best solution, can we pass any kind of object to |
I dont think this will be possible because this will require us to parse the document so that we can pass errors to
I think this is the only way to go as of now. Let me work on modifying @AceTheCreator you are more well versed with |
needed to do changes in |
Describe the bug
Since version 0.6 the errors in the file are no longer reported.
Before parsing errors were shown in the preview window, now the preview is empty.
How to Reproduce
Following file
asyncapi: 2.6.0
info:
title: Message
version: "0.1.0"
Output in previous version:
Output in new version:
Expected behavior
Errors should be reported.
The text was updated successfully, but these errors were encountered: