studio icon indicating copy to clipboard operation
studio copied to clipboard

File references are not yet supported in Studio

Open iamrakesh-kumar opened this issue 1 year ago • 2 comments

Discussed in https://github.com/asyncapi/studio/discussions/576

Originally posted by jandresboyaca March 14, 2023 I was wondering and I was looking but I couldn't find it, why in the studio we don't allow file references?

I'll give you a bit of context:

I usually work with a lot of reference objects and recently I updated the async studio and saw this warning. I use the reference object because I have different environments and use reference objects instead of direct references.

image

I can work but now I have to put the direct reference by URL which I can change later when I build the specs for each environment but the process takes a bit longer.

I just want to understand why this change

iamrakesh-kumar avatar Aug 12 '24 06:08 iamrakesh-kumar

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.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

github-actions[bot] avatar Aug 12 '24 06:08 github-actions[bot]

Hey! It's actually a simple reason. The browser, for security reasons, doesn't allow you to programatically access the user's file system. I'm aware it's not completely impossible but it's not implemented yet. Happy to listen for alternatives.

fmvilas avatar Aug 15 '24 18:08 fmvilas

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

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 :heart:

github-actions[bot] avatar Dec 14 '24 00:12 github-actions[bot]