Describe the bug
If I create my own repo for the data in UI Builder then it will generate the methods to override for me via the IDE.
However, some of them has an expression parameter for a whereClause:
protected override IEnumerable<Movie> GetAllImpl(Expression<Func<Movie, bool>> whereClause, Expression<Func<Movie, object>> orderBy, SortDirection orderByDirection)
{
throw new NotImplementedException();
}
protected override PagedResult<Movie> GetPagedImpl(int pageNumber, int pageSize, Expression<Func<Movie, bool>> whereClause, Expression<Func<Movie, object>> orderBy,
SortDirection orderByDirection)
{
throw new NotImplementedException();
}
protected override long GetCountImpl(Expression<Func<Movie, bool>> whereClause)
{
throw new NotImplementedException();
}
And if no filters or anything is added then the whereClause is null, which means we need to have a nullcheck for it, but our IDE will constantly tell us that the null check is not needed:
Would be nice if the method set the Expression as nullable.
Environment (please complete the following information):
Describe the bug If I create my own repo for the data in UI Builder then it will generate the methods to override for me via the IDE.
However, some of them has an expression parameter for a whereClause:
And if no filters or anything is added then the whereClause is null, which means we need to have a nullcheck for it, but our IDE will constantly tell us that the null check is not needed:
Would be nice if the method set the Expression as nullable.
Environment (please complete the following information):