[SERVER-65834] Add validation for array types in idl generator Created: 20/Apr/22 Updated: 29/Oct/23 Resolved: 28/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Didier Nadeau | Assignee: | Didier Nadeau |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Currently validators are not used for parameters of type array in command argument parsing. For instance :
The function validateDatabasePrefix is not called when the commands is called, which means there's no validation on tenantIds. |
| Comments |
| Comment by Githook User [ 28/Apr/22 ] |
|
Author: {'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}Message: |
| Comment by Didier Nadeau [ 20/Apr/22 ] |
|
Running evergreen with the proposed change : https://spruce.mongodb.com/version/62602fce1e2d171abfe6b58f. A PR will be raised if it seems to work. |