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, we almost exclusively use the CatkinResourceRetriever, which only accepts the package:// schema.
There are other ResourceRetrievers we can use that can accept other schemas (e.g. file://, dart://).
DART has a CompositeResourceRetriever object that is more flexible, delegating to individual retrievers based on the schema (or based on precedence, i.e., try one retriever, and then move on to another if the first fails).
To simplify the process of using ResourceRetrievers, we can add a utility function to the aikido::io module that returns a CompositeResourceRetriever that can handle at least package://, file://, dart:// and potentially no schema (i.e. file path relative to execution point) to use as a default.
The text was updated successfully, but these errors were encountered:
Currently, we almost exclusively use the CatkinResourceRetriever, which only accepts the
package://
schema.There are other ResourceRetrievers we can use that can accept other schemas (e.g.
file://
,dart://
).DART has a CompositeResourceRetriever object that is more flexible, delegating to individual retrievers based on the schema (or based on precedence, i.e., try one retriever, and then move on to another if the first fails).
To simplify the process of using ResourceRetrievers, we can add a utility function to the
aikido::io
module that returns a CompositeResourceRetriever that can handle at leastpackage://
,file://
,dart://
and potentially no schema (i.e. file path relative to execution point) to use as a default.The text was updated successfully, but these errors were encountered: