Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhenii-nadtochii committed Dec 12, 2024
1 parent 3abe8be commit b4d5373
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/proto/spine/options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1156,12 +1156,17 @@ message IfHasDuplicatesOption {
}

// The option to indicate that a numeric field is required to have a value which belongs
// to the specified bounded range. For unbounded ranges, please use `(min)` and `(max) options.
// to the specified bounded range.
//
// For unbounded ranges, please use `(min)` and `(max) options.
//
message RangeOption {

// The default error message.
option (default_message) = "The field `{parent.type}.{field.name}` must be within the following range: `{range.value}`.";

// The string representation of the range.
//
// The range can be open (not including the endpoint) or closed (including the endpoint) on
// each side. Open endpoints are indicated using a parenthesis (`(`, `)`). Closed endpoints are
// indicated using a square bracket (`[`, `]`).
Expand Down

0 comments on commit b4d5373

Please sign in to comment.