See api.xql in the roasted app. Because of the xs:QName call, all namespaces need to be declared, but are not statically used.
This gives issues with linters: unused namespaces all over the place, and punishes when you want to clean them up with errors when you access any of the roaster stuff. This encourages keeping in unused namespace declarations.
Can we change (the examples) to use dynamic module imports? This would speed up most routes because we'd only load the needed modules, instead of all of them. I've seen dramatic slowdowns with modules running expensive variable declarations that were not even used, just because they were declared and imported.
See api.xql in the roasted app. Because of the
xs:QNamecall, all namespaces need to be declared, but are not statically used.This gives issues with linters: unused namespaces all over the place, and punishes when you want to clean them up with errors when you access any of the roaster stuff. This encourages keeping in unused namespace declarations.
Can we change (the examples) to use dynamic module imports? This would speed up most routes because we'd only load the needed modules, instead of all of them. I've seen dramatic slowdowns with modules running expensive variable declarations that were not even used, just because they were declared and imported.