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

Serialization options in DefaultTranscoder #159

Open
elbano-marquez-akoya opened this issue Mar 1, 2021 · 0 comments
Open

Serialization options in DefaultTranscoder #159

elbano-marquez-akoya opened this issue Mar 1, 2021 · 0 comments

Comments

@elbano-marquez-akoya
Copy link

Hi guys,

I'm facing an issue when trying to save specific objects, some of them generate a "Self referencing loop detected for property..." down in the DefaultTranscoder
https://github.com/cnblogs/EnyimMemcachedCore/blob/master/Enyim.Caching/Memcached/Transcoders/DefaultTranscoder.cs#L267

These objects are from legacy libs that are shared and are less likely to change, in our code we use JsonSerializerSettings to handle this issue....

Not suggesting to pass JsonSerializerSettings down to the SerializeObject, but to bubble up exceptions, I was able to read the stack in my debug console, but the MemcachedClient would not throw and the error is not formally captured in a catch.

Can we enable error handling in a config property when initializing the MemcachedClient, this can be some property in MemcachedClientOptions? Or did I miss something?

Thanks for taking some time in reading this.

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

No branches or pull requests

1 participant