GitHub user Xuanwo added a comment to the discussion: ideas: Split opendal rust 
core into multiple crates

Yes, it's exactly the place I want to improve. 

Our current design prohibits the implementation of breaking changes; even a 
minor correction, such as fixing a typo, could completely disrupt a user's 
stored configuration.

I plan to introduce a `version` field for each configuration, the value of 
which will always indicate the current version of the configuration. We will 
document the evolution of each configuration, allowing server maintainers to 
determine how many versions they wish to remain compatible with, such as 
through renaming or printing debug messages.

The aim is to ensure that users can safely pass and store a `HashMap<String, 
String>` or JSON bytes without disruption and without directly depending on the 
configuration structure.

This means that users can directly save a hashmap or JSON bytes in their own 
storage and rely on the service implementation only when necessary.

GitHub link: 
https://github.com/apache/opendal/discussions/5206#discussioncomment-10994807

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to