Open matkoch opened 2 months ago
The original Mention object allows to set ta date as follows:
Mention
mention.Mention.Date.Date = new Date { Start = ... }
This results in a serialized JSON that has 1 additional date property in the middle. Notion validation returns the following:
date
.mention.date.start should be defined, instead was `undefined`
I introduced a hotfix that skips the additional Date property:
Date
public class MentionPatch : Mention { [JsonProperty("date")] public Date Date1 { get; set; } }
The original
Mention
object allows to set ta date as follows:This results in a serialized JSON that has 1 additional
date
property in the middle. Notion validation returns the following:I introduced a hotfix that skips the additional
Date
property: