When resolving chain of $id
fields, we first need to provide a baseURI
before the resolution happens. This is mandated by new URL Standard: https://url.spec.whatwg.org/
Before this, we used deprecated node url.resolve
which could compensate, but that's not the case any more as we're using new WHATWG URL standard.
Ref: #425