chitralverma opened a new issue, #9371: URL: https://github.com/apache/opendal/issues/9371
*Drafted with AI assistance (Claude Code, Claude Opus 5.5); the author is accountable for it.* ### Feature Description Document that `DeleteOptions::recursive` requires `Capability::delete_with_recursive`, the same way `version` names `Capability::delete_with_version`. ### Problem and Solution `OpDelete::check` rejects `recursive` with `Unsupported` when the service lacks `delete_with_recursive` ([ops.rs#L193](https://github.com/apache/opendal/blob/33f8c4c8b/core/core/src/raw/ops.rs#L193)). The `version` doc says "Check [`crate::Capability::delete_with_version`] before using this option" ([options.rs#L52](https://github.com/apache/opendal/blob/33f8c4c8b/core/core/src/types/options.rs#L52)). The `recursive` doc ([options.rs#L55](https://github.com/apache/opendal/blob/33f8c4c8b/core/core/src/types/options.rs#L55)) has no such line. Every binding generated from core inherits the gap. That covers Node.js (#9363), C++ (#9366), and C/Go (#9368). The binding notes in #9366 and #9368 mention only the `version` `Unsupported` case. Proposed fix: 1. Add the capability sentence to core's `recursive` doc. 2. Regenerate all bindings. 3. Extend the C++ and C/Go binding notes to cover `recursive`. ### Additional Context Found during an internal review of #9366 and #9368. Tracker: #9320. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
