We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I originally ran into this when using LanguageExt.Fin with Echo.Process. The type fails to serialise, the following code reproduces the problem:
LanguageExt.Fin
Echo.Process
using LanguageExt; using Newtonsoft.Json; var finVal = Fin<string>.Succ("hello"); var json = JsonConvert.SerializeObject(finVal);
The exception thrown is:
Newtonsoft.Json.JsonSerializationException: 'Self referencing loop detected with type 'LanguageExt.Fin1[System.String]'. Path ''.'`
Newtonsoft.Json.JsonSerializationException: 'Self referencing loop detected with type 'LanguageExt.Fin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I originally ran into this when using
LanguageExt.Fin
withEcho.Process
. The type fails to serialise, the following code reproduces the problem:The exception thrown is:
Newtonsoft.Json.JsonSerializationException: 'Self referencing loop detected with type 'LanguageExt.Fin
1[System.String]'. Path ''.'`The text was updated successfully, but these errors were encountered: