Merge pull request #10636 from kjellwinblad/kjell/fix/mongo/max_overflow/EMQX-9714
fix: non_neg_integer() translated to minimum = 1 in bridge-api-en.json
This commit is contained in:
commit
74d0436fbf
|
@ -311,7 +311,7 @@ typename_to_spec("float()", _Mod) ->
|
|||
typename_to_spec("integer()", _Mod) ->
|
||||
#{type => number};
|
||||
typename_to_spec("non_neg_integer()", _Mod) ->
|
||||
#{type => number, minimum => 1};
|
||||
#{type => number, minimum => 0};
|
||||
typename_to_spec("number()", _Mod) ->
|
||||
#{type => number};
|
||||
typename_to_spec("string()", _Mod) ->
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
An issue with the MongoDB connector related to the "Max Overflow" parameter has been fixed. Previously, the minimum limit for the parameter was incorrectly set to 1 instead of allowing a minimum value of 0. This issue has been fixed, and the "Max Overflow" parameter now correctly supports a minimum value of 0.
|
Loading…
Reference in New Issue