Xuanwo commented on issue #1748: URL: https://github.com/apache/incubator-opendal/issues/1748#issuecomment-1508245093
> IIUC, what I need to do is just like `OpRead.with_range`, append a field like called like `if_match` in `OpRead`, then resolve it in different backends. Yes! > One of my other questions is how to write integration tests for this case? Good question. To write integration test for this feature, we need https://github.com/apache/incubator-opendal/issues/1752 first. In strict mode, backend should return `NotSupported` for unsupported feature. So we can write test by adding a new case with send `if_match` and ignore the unsupported error. -- 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]
