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
RuleFor(x =>x.TransmissionId).Null().When(x =>x.ActivityType==DialogActivityType.Values.DialogOpened).WithMessage($"{{PropertyName}} must be empty when {nameof(NotificationConditionQuery.ActivityType)} is {DialogActivityType.Values.DialogOpened}.");
The text was updated successfully, but these errors were encountered:
## Description
Improved validator messages to give error messages with null + when
checks.
## Related Issue(s)
[#1126](#1126)
## Verification
- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)
## Documentation
- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
Co-authored-by: Amund Myrbostad <amund.myrbostad@digdir.no>
Check for use of
with When( ... ) clauses, inn all validators
Explained here:
#1110 (comment)
Instead of:
make it:
The text was updated successfully, but these errors were encountered: