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

File references are not yet supported in Studio #1127

Open
iamrakesh-kumar opened this issue Aug 12, 2024 Discussed in #576 · 2 comments
Open

File references are not yet supported in Studio #1127

iamrakesh-kumar opened this issue Aug 12, 2024 Discussed in #576 · 2 comments

Comments

@iamrakesh-kumar
Copy link

Discussed in #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

Copy link

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.

@fmvilas
Copy link
Member

fmvilas commented Aug 15, 2024

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.

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

No branches or pull requests

2 participants