fix: maintain property order in BlogPost schema
.NET / Build & Test (push) Failing after 55s
Details
.NET / Build & Test (push) Failing after 55s
Details
This commit is contained in:
parent
25a73bce0f
commit
1946690bd9
|
@ -49,7 +49,8 @@ internal sealed class BlogPost
|
||||||
[JsonPropertyName("updated"), JsonInclude, JsonPropertyOrder(6)]
|
[JsonPropertyName("updated"), JsonInclude, JsonPropertyOrder(6)]
|
||||||
public long? Updated { get; private set; }
|
public long? Updated { get; private set; }
|
||||||
|
|
||||||
[JsonPropertyName("url"), JsonInclude] public object Url { get; private set; } = null!;
|
[JsonPropertyName("url"), JsonInclude, JsonPropertyOrder(14)]
|
||||||
|
public object Url { get; private set; } = null!;
|
||||||
|
|
||||||
public static BlogPost FromBlogPost(IBlogPost post, IBlogPostService blogPostService,
|
public static BlogPost FromBlogPost(IBlogPost post, IBlogPostService blogPostService,
|
||||||
bool includeContent = false)
|
bool includeContent = false)
|
||||||
|
|
Loading…
Reference in New Issue