Documentation on implementing NoGroupByAggregationWrapper in $apply
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 505
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
I have a specific querable class that implements IQuerable. I am getting error on executing $apply query:
System.NotSupportedException
HResult=0x80131515
Message=The expression 'new NoGroupByAggregationWrapper() {Container = new LastInChain() {Name = "TotalSum", Value = Convert({from Order $it in Convert([$it], IEnumerable1) select [$it].Balance=> Sum()}, Object)}}' (type: System.Linq.Expressions.MemberInitExpression) is not supported by this LINQ provider.
Source=Remotion.Linq
StackTrace:
at Remotion.Linq.Parsing.ThrowingExpressionVisitor.VisitUnhandledItem[TItem,TResult](TItem unhandledItem, String visitMethod, Func2 baseBehavior)
at Remotion.Linq.Parsing.ThrowingExpressionVisitor.VisitMemberInit(MemberInitExpression expression)
at System.Linq.Expressions.MemberInitExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at Remotion.Linq.Parsing.ThrowingExpressionVisitor.Visit(Expression expression)
I want to know how to implement NoGroupByAggregationWrapper in my linq query provider
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the custom IQuerable implementation that executes the $apply query and inspect how it handles the NoGroupByAggregationWrapper MemberInitExpression. Review the Remotion.Linq expression visitor failure shown in the stack trace. Done means documenting the required provider behavior or implementation guidance, but the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100