Strip docs from every node the visitor passes over.
Constructors in @codama/nodes omit the docs attribute entirely
when its value would be empty (matching the Rust side and avoiding
gratuitous docs: [] noise in encoded IDLs). This visitor follows
the same convention — it removes the docs key altogether rather
than blanking it to [].
Strip docs from every node the visitor passes over.
Constructors in
@codama/nodesomit thedocsattribute entirely when its value would be empty (matching the Rust side and avoiding gratuitousdocs: []noise in encoded IDLs). This visitor follows the same convention — it removes thedocskey altogether rather than blanking it to[].