-
Notifications
You must be signed in to change notification settings - Fork 16
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
Possible bug in $expand(EntityName($filter)) #32
Comments
Hi @mgesc , Filter in expand and expand itself applicable for collections. In your sample you trying to expand and filter single property "URLT" declared as Regarding ToJson NullHandlingValue.Ignore I need time to check the root cause. Probably this is because of using Thanks, |
Indeed!! I didn't realize that expand filter only work over collections. Thank you very much, Ihar!! |
@IharYakimush I have managed to solve the null handling issue with this helper class. I'll leave it here if it's helpful to you. It's a very dumb solution but as a hot fix it helps.
where
and
|
Hi Ihar,
I've been testing the filter inside the expand and for my use case i can't get it work. It seem that the $filter string is being bypased on nested entities.
In addition, when trying to use the .ToJson() seems that the "NullHandlingValue.Ignore" option is also being ignored
I've setup a .netfiddle for you to replicate those issues and point me in the right direction if i'm doing something wrong.
https://dotnetfiddle.net/KCbGib
Regards
The text was updated successfully, but these errors were encountered: