chitralverma commented on code in PR #9262:
URL: https://github.com/apache/opendal/pull/9262#discussion_r4721521361


##########
core/core/src/docs/specs/operator-configuration.md:
##########
@@ -74,6 +74,13 @@ or `PT1S`. Empty, zero, negative, or otherwise invalid 
duration values fail with
 invalid values for other supported built-in options also fail with
 `ConfigInvalid`. Available transport options depend on the provider and 
runtime.
 
+An option that holds a map of strings takes a JSON object whose values are
+strings, such as `{"fs.defaultFS":"hdfs://ns"}`. OpenDAL keeps the case of the
+keys inside the object. A key that appears more than once fails with
+`ConfigInvalid`, even when every occurrence has the same value. Any other JSON
+value, including a number, `null`, an array, or a nested object, also fails
+with `ConfigInvalid`.

Review Comment:
   Done in 9bb878593. The paragraph now states that an empty string leaves an 
optional map unset, that `{}` sets an explicit empty map, and that any other 
value, including malformed JSON, fails with `ConfigInvalid` and an error that 
names the option. The PR description now says `Refs #9261`.
   
   *AI-generated, reviewed by the author.*



-- 
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]

Reply via email to