You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a clear and consise way to validate requests for miniLcm, a great library for this is FluentValidation, I'd like to see that integrated, to start with the following can be validated:
Creating an entry with a sense that has an EntryId not matching it's parent is invalid (an empty/null id is fine)
Similar for complex forms, the expected property must match it's parent entry
Update and Create APIs should reject input with a deleted date set
Validation based on the current state, EG circular references
For now this validation is not data integrity based, but ensuring required fields are provided that sort of thing. Validation should follow Fieldworks as closely as we can.
The text was updated successfully, but these errors were encountered:
hahn-kev
added
📖 MiniLcm
issues related to miniLcm library code, includes fwdat bridge and lcmCrdt
and removed
💻 FW Lite
issues related to the fw lite application, not miniLcm or crdt related
labels
Dec 6, 2024
We need a clear and consise way to validate requests for miniLcm, a great library for this is FluentValidation, I'd like to see that integrated, to start with the following can be validated:
Examples can be found here https://github.com/sillsdev/languageforge-lexbox/tree/develop/backend/FwLite/MiniLcm/Validators
For now this validation is not data integrity based, but ensuring required fields are provided that sort of thing. Validation should follow Fieldworks as closely as we can.
The text was updated successfully, but these errors were encountered: