Closed ayushnau closed 3 months ago
Latest commit: 5a237b357b0c4fa923eccc9872c3d25c7ca3d5b3
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@smoya Fixed this.
In your example the error is coming due to asyncapi validation other wise the multiparser package is working fine.
I have used this package for testing. @ayushnautiyal706020/multi-parser Also pushed this code here if you want to check https://github.com/ayushnau/asyncapi-parser-example
@asyncapi/bounty_team
I don't get why we need this change. Can you please elaborate on that?
@ayushnau
In your example the error is coming due to asyncapi validation other wise the multiparser package is working fine.
Attaching two screenshots running a simple example both with @smoya/multi-parser
package and then with @asyncapi/multi-parser
one. See the error on the second.
@smoya/multi-parser
@asyncapi/multi-parser
I don't get why we need this change. Can you please elaborate on that?
Before I was using parserv3: file::../parser to import the parser in multiparser. but doing this way was creating problem in production build. of the multiparser. It turns out that in turborepo for importing internal dependency we need to use *@asyncapi/parser : ""** this only works if we are using the name which is in the package.json of the package. So we need to use @asyncapi/parser instead of parserv3
@ayushnau
In your example the error is coming due to asyncapi validation other wise the multiparser package is working fine.
Attaching two screenshots running a simple example both with
@smoya/multi-parser
package and then with@asyncapi/multi-parser
one. See the error on the second.Using
@smoya/multi-parser
Using
@asyncapi/multi-parser
yes I am aware of this. Merging this pr will fix this.
The prefix title of the pr should be fix.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
/rtm
/rtm
/rtm
/rtm
Changes Added.
Related issue(s)
Related to: https://github.com/asyncapi/parser-js/issues/963