-
Notifications
You must be signed in to change notification settings - Fork 16
Support file inputs #71
Comments
The reason for not having such functionality here (or why it was not added) is because this library should eventually be integrated into CLI and Studio where these things are done already. Less logic, better, until we see adoption outside AsyncAPI tools |
Right, but when you need to natively integrate this library into your own tools, it becomes a missing feature. Especially if I do not care about CLI or Studio 😄 It is somewhat the same thought behind not designing API's for one specific client, but from the API itself, what makes it easier for all. |
Do you mean you or as an imaginary user?
well, yes and no. How do you know, do you have a use case 😄 ? Cupid was developed as a library for CLI and Studio, but also developed in a separate repo and released separately in case someone would like to integrate it into their tools. so supporting file input is cool, but why would I do it just because I think it could be useful :) What is the point of adding features that we and nobody else needs 😄 Do you know what I mean? otherwise, we will add file input, then of course URL input as this would be nice too? |
I mean, at the moment, I have this problem, because CLI is not integrated yes. So you could say this feature request would go away with that feature implemented.
Yes, because I have no other choice than to implement it myself 😄 |
then easier would be if you join review here asyncapi/cli#143 and help by doing manual testing dev experience: git clone https://github.com/asyncapi/cli
gh pr checkout 143 #assuming you have a GH CLI
npm install
npm run build #ts thingy
npm install ./ -g #get asyncapi installed globally, but basically get a symlink to clone
asyncapi relation test/examples/flightService/monitor.yaml test/examples/flightService/notifier.yaml test/examples/flightService/subscriber.yaml 😁 |
Just had another use-case for Cupid the other day where I had to integrate it into a website, so the feature request stands. |
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 ❤️ |
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 ❤️ |
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 ❤️ |
Reason/Context
Triggered by #67 (comment), as we currently have no way to pass options to the parser that Cupid uses. Meaning everyone needs to pre-parse their documents beforehand for references to be accurately dereferenced.
We can remove such needs by supporting file inputs (or a way to pass options to the parser 🧐).
The text was updated successfully, but these errors were encountered: