You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/09/30 17:20:51 UTC
[GitHub] [incubator-opendal] Xuanwo commented on pull request #3197: RFC-3197: Config
Xuanwo commented on PR #3197:
URL: https://github.com/apache/incubator-opendal/pull/3197#issuecomment-1741818232
> ```rust
> trait Config: Serialize + Deserialize + ....
> ```
Providinh a trait that allows `Serialize + Deserialize` is different from providing structs/enums that supports `Serialize + Deserialize`. The structs/enums allows users to work directly with detailed configuration.
**Users can implement `TryFrom/TryInto` according to their own needs.**
This is crucial for production applications as they do not want to be impacted by OpenDAL's breaking changes.
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org