Docs: generated code requires a
|
Replies: 1 comment
|
Thank you again, @swarm59, for another precise report and for testing the generated output as a real consumer project. You were right about the resulting E0433 errors, although the underlying problem turned out to be a code-generation dependency leak rather than only missing documentation. Every generated Rust struct emitted references to The direct issue is fixed on Your report also led us to audit dependency and import hygiene across all 17 code-generation backends. That audit confirmed that the SQL-filter dependency leak itself was Rust-specific, but it uncovered related problems elsewhere:
Those imports and generated dependencies are now driven by the features actually used by the IDL. TypeScript is checked with a real strict The complete public I am closing this discussion as fixed. If a generated consumer still requires an undocumented direct dependency, or if a backend emits imports for features that are not present in the IDL, please let us know here — we will be very happy to reopen the discussion and extend the dependency-hygiene audit. Your continued careful testing is helping us improve not only the Rust consumer experience, but the generated dependency and import discipline across the full backend set. |
Thank you again, @swarm59, for another precise report and for testing the generated output as a real consumer project. You were right about the resulting E0433 errors, although the underlying problem turned out to be a code-generation dependency leak rather than only missing documentation.
Every generated Rust struct emitted references to
zerodds_sql_filter::Value, even when the consumer did not use content filtering. That forced applications to declare an implementation-detail crate as a direct dependency. The existingzerodds-dcpsAPI already re-exported the type asFilterValue, but the IDL backend did not use that public path.The direct issue is fixed on
maininbd7e592. Generated Rus…