You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering the Road to v2.0.0 and the fact major changes are going to happen, such as a complete rewrite of the API of the parser (See #453), or the rewrite we plan to do for the parsing logic integrating Spectral (See #477), I can't think of a better time to move forward with this task.
Description
To rewrite/migrate the entire parser-js library in TypeScript.
We should create PR's targeting next-major branch if we finally want this to happen in v2.0.0.
This development also includes porting the new Parser-API based on the latest implementation that can be found here: #497 (comment)
Reacted by Jonas Lagoni, Maciej Urbańczyk and Khuda Dad Nomani
Reacted by Maciej Urbańczyk, Souvik De, Khuda Dad Nomani and Anubhav Vats
@smoya I am 100% in favor of this! I can of course help with the rewriting. We can split it so that you take care of models and intent API and I will take care of validation (by spectral) and parsing. WDYT?
@smoya I am 100% in favor of this! I can of course help with the rewriting. We can split it so that you take care of models and intent API and I will take care of validation (by spectral) and parsing. WDYT?
That's awesome @magicmatatjahu! Thanks for jumping in 💯 . Let's zap all previous code so we can freshly start with this! #483
@smoya would love to help, I have been reading parser for some time now and I wanted to get started with the project but didn't know where to start, I think this is the best time to get started since we are rewriting the whole parser. Just let me know how I can help.
@smoya would love to help, I have been reading parser for some time now and I wanted to get started with the project but didn't know where to start, I think this is the best time to get started since we are rewriting the whole parser. Just let me know how I can help.
Currently, I'm working on the the Model side, in particular building up all the new Models for the Intent-Driven API (See #401). @magicmatatjahu is working on the Parse logic side, which is also very large.
Maybe you @Souvikns could take one issue from #481 that you like and work on it.
Do you suggest any in particular @magicmatatjahu (you have a broader knowledge on this codebase as well)?
@Souvikns@smoya Parser logic side is very complex than Models/Intent API, so maybe you @Souvikns can rewrite some models from old API to new with tests :) @smoya what do you think? At the moment a lot of things from issue #481 can't be done because significant logic is missing.
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
In 99% we don't need the traversing functionality, because atm we only use it for anonymous naming and for retrieving all schemas and messages, and we do that in simpler way than current. For Custom ID naming we can implement idea from Jonas - #176
I'm just wondering if these lack of travserse functionality won't affect ecosystem badly because someone might use it besides us in the parser, and if the new way of anonymous schema won't affect Modelina badly, which makes heavy use of generated names.
Activity
magicmatatjahu commentedon Mar 7, 2022
@smoya I am 100% in favor of this! I can of course help with the rewriting. We can split it so that you take care of models and intent API and I will take care of validation (by spectral) and parsing. WDYT?
smoya commentedon Mar 8, 2022
That's awesome @magicmatatjahu! Thanks for jumping in 💯 . Let's zap all previous code so we can freshly start with this! #483
Souvikns commentedon Mar 8, 2022
@smoya would love to help, I have been reading parser for some time now and I wanted to get started with the project but didn't know where to start, I think this is the best time to get started since we are rewriting the whole parser. Just let me know how I can help.
smoya commentedon Mar 9, 2022
Hi @Souvikns! I'm so happy we can count on you! 🎉
Currently, I'm working on the the Model side, in particular building up all the new Models for the Intent-Driven API (See #401).
@magicmatatjahu is working on the Parse logic side, which is also very large.
Maybe you @Souvikns could take one issue from #481 that you like and work on it.
Do you suggest any in particular @magicmatatjahu (you have a broader knowledge on this codebase as well)?
magicmatatjahu commentedon Mar 11, 2022
@Souvikns @smoya Parser logic side is very complex than Models/Intent API, so maybe you @Souvikns can rewrite some models from old API to new with tests :) @smoya what do you think? At the moment a lot of things from issue #481 can't be done because significant logic is missing.
Souvikns commentedon Mar 11, 2022
Yeah, I figured that, so I was exploring
spectral, there are a lot of models that we have to rewrite I can help with that, if @smoya lets me 😄Souvikns commentedon Mar 16, 2022
@magicmatatjahu @smoya can I try writing the
servermodel?magicmatatjahu commentedon Mar 16, 2022
@Souvikns Yeah, you can :) Please base implementation on the https://github.com/asyncapi/parser-api/blob/master/docs/v1.md#server and remember that we have mixins for
description,bindingsandextensionsmethodsgithub-actions commentedon Jul 17, 2022
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience ❤️
smoya commentedon Aug 24, 2022
EDIT: Up-to-date list: #481 (comment)
TODO list with what is missing now:
x-parser-schema-id). See anonymousNaming.jsparser-apiAPI.cc @magicmatatjahu @derberg @fmvilas
magicmatatjahu commentedon Aug 29, 2022
In 99% we don't need the
traversingfunctionality, because atm we only use it for anonymous naming and for retrieving all schemas and messages, and we do that in simpler way than current. ForCustom ID namingwe can implement idea from Jonas - #176I'm just wondering if these lack of travserse functionality won't affect ecosystem badly because someone might use it besides us in the parser, and if the new way of anonymous schema won't affect Modelina badly, which makes heavy use of generated names.
magicmatatjahu commentedon Oct 25, 2022
Issue is resolved in v2 ParserJS - now in https://github.com/asyncapi/parser-js/tree/next-major branch