grandnode / grandnode2

Open-Source eCommerce Platform on .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB & Vue.js

Home Page:https://grandnode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup failed: Method ToLowerInvariant() in String are not supported when convert to BsonExpression

rualb opened this issue · comments

Issue

Setup failed: Method ToLowerInvariant() in String are not supported when convert to BsonExpression
(value(Grand.Business.Customers.Services.CustomerService+<>c__DisplayClass11_0).email.ToLowerInvariant()).

Temp Solution

replacing from .ToLowerInvariant to .ToLower on using with .email and .username

Note

setup to LiteDB (vers 5.0.19)

The problem is in LiteDb, I've send PR on LiteDb mbdavid/LiteDB#2468

@rualb please check