Skip to content

Commit

Permalink
Merge pull request #235 from vchernyshov/master
Browse files Browse the repository at this point in the history
Make user nullable
  • Loading branch information
f-meloni authored Aug 29, 2022
2 parents 31aeee0 + 7cbb939 commit b39f994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
-->
## Master
- Update `Kotlin` to `1.7.0` and added support for Apple Silicon Chipset [@gianluz] - [#231](https://github.com/danger/kotlin/pull/231)
- Make user property nullable for cases when non BB user did a commit [@vchernyshov]

# 1.1.1
- Make GitLab approvals_before_merge variable nullable [#227](https://github.com/danger/kotlin/pull/227)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ data class BitBucketCloud(
@SerialName("updated_on")
val updatedOn: Instant,
val deleted: Boolean,
val user: User,
val user: User? = null,
)

@Serializable
Expand Down Expand Up @@ -63,7 +63,7 @@ data class BitBucketCloud(
@Serializable
data class Author(
val raw: String,
val user: User
val user: User? = null
)
}

Expand Down Expand Up @@ -99,7 +99,7 @@ data class BitBucketCloud(
data class Participant(
val approved: Boolean,
val role: Role,
val user: User
val user: User? = null
) {

@Serializable
Expand Down

0 comments on commit b39f994

Please sign in to comment.