Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use named placeholder for error messages in options.proto #842

Merged
merged 27 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
deca701
Migrate `IfMissionOption` to placeholders
yevhenii-nadtochii Dec 11, 2024
4326b1f
Adhere to a consistent specs format
yevhenii-nadtochii Dec 11, 2024
35c333d
Migrate `MaxOption` to placeholders
yevhenii-nadtochii Dec 11, 2024
1f2d35d
Introduce `{field.path}` placeholder
yevhenii-nadtochii Dec 11, 2024
49d2844
Migrate `MinOption` to placeholders
yevhenii-nadtochii Dec 11, 2024
1e4c0ef
Migrate `PatternOption` to placeholders
yevhenii-nadtochii Dec 11, 2024
4401a87
Migrate `IfInvalidOption` to placeholders
yevhenii-nadtochii Dec 12, 2024
e8d9a29
Introduce option's scope
yevhenii-nadtochii Dec 12, 2024
4279f90
Add more placeholders to `GoesOption`
yevhenii-nadtochii Dec 12, 2024
697526a
Update naming of placeholders for `IfSetAgainOption`
yevhenii-nadtochii Dec 12, 2024
37494d6
Replace `tokens` -> `placeholders`
yevhenii-nadtochii Dec 12, 2024
ecede7d
Unify error-message only options
yevhenii-nadtochii Dec 12, 2024
6805778
Unify the remaining options
yevhenii-nadtochii Dec 12, 2024
3173f96
Bump the version -> `2.0.0-SNAPSHOT.230`
yevhenii-nadtochii Dec 12, 2024
1c6e17a
Proofread text
yevhenii-nadtochii Dec 12, 2024
8cf24bf
Move `if_set_again` option up, and change its number
yevhenii-nadtochii Dec 12, 2024
60d55ea
Rename `threshold` to `value`
yevhenii-nadtochii Dec 12, 2024
2030e4e
Rename `comparison` to `operator`, and change its value
yevhenii-nadtochii Dec 12, 2024
5a37fba
Add `IfHasDuplicates` option to specify the error message for `(disti…
yevhenii-nadtochii Dec 12, 2024
b709e17
Introduce `RangeOption`
yevhenii-nadtochii Dec 12, 2024
3abe8be
Add `IfHasDuplicatesOption` to field options
yevhenii-nadtochii Dec 12, 2024
b4d5373
Update docs
yevhenii-nadtochii Dec 12, 2024
6b5105e
Fix the article
yevhenii-nadtochii Dec 13, 2024
5cfa325
Use the direct `field.name` instead of `field.path` for `(validate)` …
yevhenii-nadtochii Dec 13, 2024
9f70e7b
Proofread text
yevhenii-nadtochii Dec 13, 2024
4ecba08
Update specs to `(validate)` specs
yevhenii-nadtochii Dec 13, 2024
eaf8400
Add more details to `(distinct)` spec
yevhenii-nadtochii Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# Dependencies of `io.spine:spine-base:2.0.0-SNAPSHOT.224`
# Dependencies of `io.spine:spine-base:2.0.0-SNAPSHOT.230`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -845,4 +845,4 @@

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Mon Dec 09 15:30:34 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
This report was generated on **Thu Dec 12 14:27:09 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
<groupId>io.spine</groupId>
<artifactId>base</artifactId>
<version>2.0.0-SNAPSHOT.224</version>
<version>2.0.0-SNAPSHOT.230</version>

<inceptionYear>2015</inceptionYear>

Expand Down
Loading
Loading