This PR proposes a quick fix to allow to retrieve relative external schema and dialects when using a remote basePath. This feature was identified as missing in the code in a TODO comment.
I added a test using an existing test datapackage but used it in a remote context.
Basically, if the basePath is a remotePath it is added to the path before trying to retrieve it.
All tests pass.
Please preserve this line to notify @roll (maintainer of this repository)
Overview
This PR proposes a quick fix to allow to retrieve relative external schema and dialects when using a remote basePath. This feature was identified as missing in the code in a TODO comment.
I added a test using an existing test datapackage but used it in a remote context.
Basically, if the basePath is a remotePath it is added to the path before trying to retrieve it.
All tests pass.
Please preserve this line to notify @roll (maintainer of this repository)