The type of X resolves to a canonical URI of http://example.com/other.json/#bar.
Currently, we ignore the different namespace and just return bar as the name of the record in avro.
i.e. com.example.root.bar when it should be com.example.other.bar.
To accomplish this, we'll likely need to pass the parent schema along as context in the transpiler, so we can walk back up the tree looking for the closest $id definition.
Related to #3
Consider the following schema.
The type of
X
resolves to a canonical URI ofhttp://example.com/other.json/#bar
. Currently, we ignore the different namespace and just returnbar
as the name of the record in avro. i.e.com.example.root.bar
when it should becom.example.other.bar
.To accomplish this, we'll likely need to pass the parent schema along as context in the transpiler, so we can walk back up the tree looking for the closest
$id
definition.