Runtime MessagePackIgnore
Hi, We have specific needs where using PropertyName we wanted to skip serialization of property in object. We cannot specify design time attribute as same object has been used and based on context we want to skip Property Value serialization to reduce payload. Any way to achieve these?
Thanks,
Hi, I have created PR #280 , to support requirements without major changes and adding additional property in SerializationContext. Please review and let me know comments to fix them or provide suggestions.
These implementation, allows to serialize objects without design time define object's member needs to skip serialization. These is very helpful in case where applications which reuse existing code and APIs needs to transfer data between tiers, while API call uses shared objects, which have all property populated, while caller on that APIs not interested or required all values, but because of shared logic and objects, it serialized everything. and its not possible to mark object on designtime as based on API, object members populated values required while for other it may not.
Sorry, I'm busy now, but I will read your PR and this issue in weekend. Thank you!
Hi @yfakariya , As based on your code review comments, i have created new PR #282. Please review.