Giter Site home page Giter Site logo

Comments (12)

OlegNadymov avatar OlegNadymov commented on June 3, 2024 1

It seems to be working now 👍

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

@OlegNadymov
Can you provide the full "User" class?

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

#760

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

@OlegNadymov
I could not test it 100% (due to missing User class), but I've updated the code.

Can you try 1.3.8-preview-02?

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

you probably need 1.3.8-preview-03

from system.linq.dynamic.core.

OlegNadymov avatar OlegNadymov commented on June 3, 2024

Unfortunately, again ParseException: ')' or ',' expected.

I see that now inner statements have the same number of quoutes (two):

{Param_0 => In(Param_0.Id, SubSelect("Identity", "LegalPerson", Concat(Concat("StaticHelper.In(ParentId, StaticHelper.SubSelect(""LegalPersonId"", ""PointSiteTD"", ""Identity = ", ToExpressionString(Get("CurrentPlace"), 2)), """, """"))"), ""))}

But in the old version they had one single quote:

{Param_0 => In(Param_0.Id, SubSelect("Identity", "LegalPerson", Concat(Concat("StaticHelper.In(ParentId, StaticHelper.SubSelect("LegalPersonId", "PointSiteTD", "Identity = ", ToExpressionString(Get("CurrentPlace"), 2)), "", ""))"), ""))}

So, when I try to DynamicInvoke the complied expression I have the exception here:
image
image

BTW, I use the same User class from your tests, but I've added new three properties as you did here:
#760

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

Can you try preview-4?

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

Thanks for verifying. Please do some more tests, and if it's working good, close this issue.

from system.linq.dynamic.core.

OlegNadymov avatar OlegNadymov commented on June 3, 2024

Ok! I'm trying to check if it works for a deeper level. I think, I don't have expressions with deeper levels. But I'm wondering if it works.

from system.linq.dynamic.core.

OlegNadymov avatar OlegNadymov commented on June 3, 2024

All my tests are passed successfully. So, I will be looking forward for release these features to upgrade your package on my production.

from system.linq.dynamic.core.

StefH avatar StefH commented on June 3, 2024

@OlegNadymov
I'll merge this PR to master.

I've no date yet on a new release. I'll keep you informed.

from system.linq.dynamic.core.

OlegNadymov avatar OlegNadymov commented on June 3, 2024

@StefH thanks for the information! 👍

from system.linq.dynamic.core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.