Commit 2458b82
committed
✨ feat(constraints): add configSizeOrNull function for collection size retrieval
- implement configSizeOrNull to return size for Collection, Map, Array, CharSequence, and StringOrDefault
- handle null cases gracefully by returning null1 parent 6034f94 commit 2458b82
1 file changed
Lines changed: 13 additions & 0 deletions
File tree
- surf-api-core/surf-api-core/src/main/kotlin/dev/slne/surf/api/core/config/constraints
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments