Open shahariaazam opened 4 years ago
I found it very frustrating that when I use uses
keyword. It doesn't show any error in the console or on screen. Difficult to debug.
So in that case, IMO if we failed to resolve uses
path or external URL, we can display that notice in console or on-screen as popup. So developer will understand what's went wrong. Specially it will kills hours of times to figure out the reason in current situation.
Fetch remote libraries with
uses
. Currently it's working well with local file system. But it's not working if I want to include any remote libraries to use.Is your feature request related to a problem? Please describe. Yes. In my team we have already some defined
RAML
specs ready that we use in our various project to reduce copy/paste and redundant works. So we frequently useuses
keywords in our RAML.Describe the solution you'd like During import
RAML
folder, if it finds anyuses
keyword it should fetch that (for local it's currently working but need to fetch remote libraries too) if the path is any public URL.Describe alternatives you've considered Temporarily I need to clone that remote RAML library within my current RAML project and then use
uses
to include that from local storageAdditional context According to the RAML Specs the
uses
libraries must be located locally within the current library.But my use-case is also a valid use-case and I think it doesn't violate any rules to fetch remote libraries with
uses
keyword.