Skip to content

Adding fuller support for resolving anonymous type data on a dynamic object#258

Merged
metoule merged 6 commits intodynamicexpresso:masterfrom
holdenmai:93_LateCallSiteBinding
Sep 26, 2022
Merged

Adding fuller support for resolving anonymous type data on a dynamic object#258
metoule merged 6 commits intodynamicexpresso:masterfrom
holdenmai:93_LateCallSiteBinding

Conversation

@holdenmai
Copy link
Copy Markdown
Contributor

Issue #93

The major change made with this is that rather than performing the binding, somewhat greedily, on typeof(object), we leverage the actual instance present in the CallSiteBinder args parameter to get the actual type as late as possible.

Copy link
Copy Markdown
Contributor

@metoule metoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few minor nitpicking comments, but otherwise it looks good to me, thanks a lot!

Comment thread test/DynamicExpresso.UnitTest/DynamicTest.cs Outdated
Comment thread test/DynamicExpresso.UnitTest/DynamicTest.cs Outdated
Comment thread src/DynamicExpresso.Core/Parsing/Parser.cs
Comment thread src/DynamicExpresso.Core/Parsing/Parser.cs Outdated
Comment thread src/DynamicExpresso.Core/Parsing/Parser.cs Outdated
Comment thread src/DynamicExpresso.Core/Parsing/Parser.cs Outdated
@metoule
Copy link
Copy Markdown
Contributor

metoule commented Sep 21, 2022

LGTM, thanks again for all your contributions!
@davideicardi I'll let you have a look as well :)

Copy link
Copy Markdown
Member

@davideicardi davideicardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Very nice improvements!

Thank you @holdenmai !

@metoule metoule merged commit 115ffa4 into dynamicexpresso:master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants