You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks as though the existing System.Text.Json serialisation library is having problems trying to serialise the Article object graph upon trying to create a new article:
System.Text.Json.JsonException: A possible object cycle was detected which is not supported.
I've been able to fix this on my local (Ubuntu) setup by using the Newtonsoft library instead. If there's an appetite to go after this fix I can create a PR with my changes later this evening?
The text was updated successfully, but these errors were encountered:
On Wed, Sep 2, 2020 at 11:55 AM Adam Hathcock ***@***.***> wrote:
Please submit a PR. I actually thought I was using Newtonsoft but my
memory is fading.
System.Text.Json isn't very usable until .NET 5.0 or later
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWSTN5C4RPARHPHR4X2W6DSDYQDTANCNFSM4QS26PEA>
.
It looks as though the existing System.Text.Json serialisation library is having problems trying to serialise the Article object graph upon trying to create a new article:
System.Text.Json.JsonException: A possible object cycle was detected which is not supported.
I've been able to fix this on my local (Ubuntu) setup by using the Newtonsoft library instead. If there's an appetite to go after this fix I can create a PR with my changes later this evening?
The text was updated successfully, but these errors were encountered: