-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/j value #99
Feature/j value #99
Conversation
Currently I have updated the Nuget package on my server as prerelease version but I prefer to use your official Nuget package. When do you think take a look on this pull requests? |
Hey there, It seems like it would work perfectly fine however it goes out of the I'd be hesitant about including it purely as this logic should be within that structure and it could set bad precedent. I was planning to look at performing essentially the same logic but within a factory (for checking if the object is a This was What do you think of that solution? |
Ok, I will apply the logic into a new one ValueGetter with its factory. |
Perfect thank you, if you need any advice feel free to ask. I would do it myself but i'm currently working on a side project and have little time. |
…into PropertyDescriptorValueGetterFactory class.
…alueGetterFactory class for determining when the value is a JValue and return the right value.
…of a JValue object was truth.
Done, I saw that you already have PropertyDescriptorValueGetterFactory and I just added a condition into PropertyDescriptorValueGetter to check whether the value received is a JValue. The previous unit tests still works very well. |
Hello, When do you think check the PR and update the Nuget package? Because I need an update soon and I whether it's too late, I will create a new one just for me. |
I should be able to merge this and get it pushed today. Within the next few hours, work permitting at latest this evening GMT. |
Thank you! Sorry to rush you ;) |
This has been merged in for you and released. Thanks for your contribution. |
Thank you for your quick answer. |
I had some problems with Nustache to identify a boolean with Newtonsoft because it return a JValue instead of a boolean as type.
I added a new micro service to identify the value of the Newtonsoft.Json.Linq.JValue with its tests.