Skip to content

Commit

Permalink
Make Position.BaseSha nullable (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-z authored Apr 4, 2024
1 parent 4fbf39a commit 87fed0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NGitLab/Models/Position.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Position
public LineRange LineRange { get; set; }

[JsonPropertyName("base_sha")]
public Sha1 BaseSha { get; set; }
public Sha1? BaseSha { get; set; }

[JsonPropertyName("head_sha")]
public Sha1 HeadSha { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion NGitLab/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,7 @@ NGitLab.Models.PipelineVariable.PipelineVariable() -> void
NGitLab.Models.PipelineVariable.Value -> string
NGitLab.Models.PipelineVariable.VariableType -> string
NGitLab.Models.Position
NGitLab.Models.Position.BaseSha.get -> NGitLab.Sha1
NGitLab.Models.Position.BaseSha.get -> NGitLab.Sha1?
NGitLab.Models.Position.BaseSha.set -> void
NGitLab.Models.Position.HeadSha.get -> NGitLab.Sha1
NGitLab.Models.Position.HeadSha.set -> void
Expand Down

0 comments on commit 87fed0b

Please sign in to comment.