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
Currently, expressions in File declarations are required to evaluate to a path in the execution environment. We want to move away from allowing relative paths, so really the only use case for an expression in a file declaration is to specify an absolute path in the execution environment, which has limited utility.
It seems like a much more useful purpose for file declaration expressions would be to allow for localizing remotely available (public) resources. At a minimum we should require engines to support public http(s) URLs (i.e., not requiring authentication). We already require engines to support http(s) for imports so this doesn't seem like it would be a huge burden to put on engine developers.
The text was updated successfully, but these errors were encountered:
I think practically this makes a lot of sense, however I definitely know of cases where this would not be allowed (ie violataes service boundaries or environments cut off from external networks). Additionally, you may want to control where inputs are coming from to prevent external resources entering into a protected environment.
So far we have been fairly un-opinionated about the types of files an engine needs to support and have dealt largely in the abstract. Overall, I think this has served us well so I am hesitant to mandate support for a specific format
Currently, expressions in
File
declarations are required to evaluate to a path in the execution environment. We want to move away from allowing relative paths, so really the only use case for an expression in a file declaration is to specify an absolute path in the execution environment, which has limited utility.It seems like a much more useful purpose for file declaration expressions would be to allow for localizing remotely available (public) resources. At a minimum we should require engines to support public http(s) URLs (i.e., not requiring authentication). We already require engines to support http(s) for imports so this doesn't seem like it would be a huge burden to put on engine developers.
The text was updated successfully, but these errors were encountered: