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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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:

  • Allow QueryableExtensions.Select to create projections for positional record types without requiring a parameterless constructor.
  • Support record primary constructors during projection generation.
  • Ensure Grid filtering, sorting, and related data operations work seamlessly with immutable record models.
  • Reduce the need for workarounds such as adding redundant parameterless constructors or converting records back to classes.