Skip to content
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

IGroBufCustomSerializer implementation for <object>and <dynamic> #16

Open
halittiryaki opened this issue Apr 3, 2019 · 1 comment
Open

Comments

@halittiryaki
Copy link

halittiryaki commented Apr 3, 2019

Is it possible to provide a custom serializer for objects of type object and dynamic?
It seems objects of those types gets ignored by ignoreCustomSerialization.

@halittiryaki
Copy link
Author

halittiryaki commented Apr 3, 2019

able to workaround this problem with additional members having the actual type defined:

  public dynamic dynVal { get; private set; }
  public object objVal;

  public ExpandoObject DynValFix { get => dynVal as ExpandoObject; set => dynVal = value as ExpandoObject; }
  public ExpandoObject ObjValFix { get => objVal as ExpandoObject; set => objVal = value as ExpandoObject; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant