Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Currently, QueryableExtensions.Select requires the target model type to have a parameterless (default) constructor when creating projections internally. This works for traditional class-based models because a default constructor is available implicitly. However, positional records only generate parameterized constructors by default and do not include a parameterless constructor.
As a result, Grid operations such as filtering and sorting fail when using positional record models, throwing an exception during projection creation. Developers are currently required to add an explicit parameterless constructor or replace positional records with property-based records or classes.
Supporting positional records natively in QueryableExtensions.Select would align the framework with current .NET development practices and improve developer experience.
Requested Enhancement:
QueryableExtensions.Select to create projections for positional record types without requiring a parameterless constructor.