Commit b928be7
committed
Fix stored procedure operation types with length-limited regex
- Add length limiters ({1,500} and {1,200}) to regex patterns in config-generator.ps1
- Prevents over-matching that was incorrectly changing InsertBook from mutation to query
- Fixes GetBooks, GetPublisher, and GetAuthorsHistoryByFirstName to be queries (read operations)
- Preserves InsertBook, CountBooks, DeleteLastInsertedBook, UpdateBookTitle as mutations (write operations)
- Regenerated both MsSql and DwSql configs with refined patterns1 parent 666d97b commit b928be7
File tree
3 files changed
+13
-11
lines changed- config-generators
- src/Service.Tests
3 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2449 | 2449 | | |
2450 | 2450 | | |
2451 | 2451 | | |
2452 | | - | |
| 2452 | + | |
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2897 | 2897 | | |
2898 | 2898 | | |
2899 | 2899 | | |
2900 | | - | |
| 2900 | + | |
2901 | 2901 | | |
2902 | 2902 | | |
2903 | 2903 | | |
| |||
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
2988 | | - | |
| 2988 | + | |
2989 | 2989 | | |
2990 | 2990 | | |
2991 | 2991 | | |
| |||
3156 | 3156 | | |
3157 | 3157 | | |
3158 | 3158 | | |
3159 | | - | |
| 3159 | + | |
3160 | 3160 | | |
3161 | 3161 | | |
3162 | 3162 | | |
| |||
0 commit comments