added json ignore tags because oc cyclic references in Logs

This commit is contained in:
Sarah Faey 2022-11-24 19:08:07 +01:00
parent fc5e75cc9d
commit f322c18c57
3 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,6 @@
namespace Lieb.Models.GuildWars2.Raid
using System.Text.Json.Serialization;
namespace Lieb.Models.GuildWars2.Raid
{
public class DiscordRaidMessage
{
@ -6,6 +8,7 @@
public int RaidId { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.Always)]
public Raid Raid { get; set; }
public ulong DiscordMessageId { get; set; }