Skip to content
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

Consider upgrading the code to be supported by AsyncAPI Parser-JS v2 #2

Closed
smoya opened this issue Mar 22, 2023 · 1 comment
Closed
Assignees

Comments

@smoya
Copy link

smoya commented Mar 22, 2023

Reason/Context

Parser-JS 2.0 (released as rc at this moment) is a completely new parser, with a lot of changes. The bigger ones are:

  • Completely rewritten to TS.
  • Implements the new parser-api, in particular, the version found in this PR.
  • Uses Spectral as parser/linter with the AsyncAPI ruleset.
  • Lots of other improvements, especially around Developer Experience.

Considering that Spectral now validates the documents before parsing, we had to update the interface for Schema parsers to separate validation from parsing. This change also introduced better errors and the way we handle them. (see this issue and related).

Description

Note that Parser-JS v2 uses TypeScript so feel free to use it as well.

@GreenRover GreenRover self-assigned this Apr 4, 2023
@smoya
Copy link
Author

smoya commented Sep 7, 2023

Closing in favor of asyncapi/protobuf-schema-parser#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants