This is a follow-up to #7/#8 to handle enclosing namespaces. I reuse the **enclosing-namespace** dynamic variable to pass down enclosing namespaces from records and arrays to the eventual use in swap-named-value!. This happens from get-schemas! and make-serializer.
I also updated the test to check this case. Notice how SubFooRecord has no namespace, but should be annotated with com.company because it is within com.company/FooRecord in test/namespaced_records.json.
This is a follow-up to #7/#8 to handle enclosing namespaces. I reuse the
**enclosing-namespace**
dynamic variable to pass down enclosing namespaces from records and arrays to the eventual use inswap-named-value!
. This happens fromget-schemas!
andmake-serializer
.I also updated the test to check this case. Notice how
SubFooRecord
has no namespace, but should be annotated withcom.company
because it is withincom.company/FooRecord
intest/namespaced_records.json
.