-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] validating collection elements #142
Comments
@GioviQ Can you provide a minimal repo to test this implementation and share more details about the Exception? |
@Sharaf-Mansour I think it is very clear that item property is not found, have you click on the link pointing to the exact line of code where the issue is? |
@GioviQ Yes I have seen it, but it says |
@Sharaf-Mansour see my PR |
@GioviQ: Ideally you replicate the issue online here: https://www.telerik.com/blazor-ui/repl, so the the maintainers does not have to spent time replicating the issue. In your particular case, it seems, the the bug is related to code you haven't posted anywhere (NotifiableCollection.cs probably?). Anyway, I think your PR does not solve the source of the issue, see my comment |
The PR has been tested with https://github.com/enkodellc/blazorboilerplate |
I have the following validator:
Orders is of type
https://github.com/Breeze/breeze.sharp/blob/master/Breeze.Sharp/INavigationSet.cs#L60
This line https://github.com/Blazored/FluentValidation/blob/main/src/Blazored.FluentValidation/EditContextFluentValidationExtensions.cs#L171 gives Ambiguos Match Exception
The escamotage is creating and using a derived property like
List<Order> OrderList { get => Orders.ToList() }
, but I would like not to use it.The text was updated successfully, but these errors were encountered: