Closed jlpatte2 closed 3 years ago
So I was able to "enable" both of these features with the following simple addition:
comment.cs:
public List
src/Bitbucket.Net/Models/Core/Projects/Comment.cs | 6 +++++- src/Bitbucket.Net/Models/Core/Projects/CommentAnchor.cs | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/Bitbucket.Net/Models/Core/Projects/Comment.cs b/src/Bitbucket.Net/Models/Core/Projects/Comment.cs index cdcdcf3..555b479 100644 --- a/src/Bitbucket.Net/Models/Core/Projects/Comment.cs +++ b/src/Bitbucket.Net/Models/Core/Projects/Comment.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; using Bitbucket.Net.Common.Converters; +using Bitbucket.Net.Models.Core.Tasks; +using Bitbucket.Net.Models.Core.Users; using Newtonsoft.Json;
namespace Bitbucket.Net.Models.Core.Projects @@ -14,7 +16,9 @@ namespace Bitbucket.Net.Models.Core.Projects public DateTimeOffset? CreatedDate { get; set; } [JsonConverter(typeof(UnixDateTimeOffsetConverter))] public DateTimeOffset? UpdatedDate { get; set; }
Thanks, @jlpatte2 ! It's in release 2.1.12
I love this library, and am trying to understand if I am just misunderstanding how it works, or if I have a feature request ;) when I look at the json data for a pull request, there is a comments and tasks parameter array. However this library doesn't have a comments nor tasks array inside of Comment. I can't figure out how to recursively dig into the tree of comments.
Thank You, Josh