Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MR Comment Range type to be nullable #625

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

mlemieuxlafontaine-ubi
Copy link
Contributor

@mlemieuxlafontaine-ubi mlemieuxlafontaine-ubi commented Feb 1, 2024

GitLab sometimes returns Null as the range type, which breaks deserialization of the model.

Setting the field to nullable fixes the issue, without breaking deserialization of the DynamicEnum when it is actually set

@mlemieuxlafontaine-ubi mlemieuxlafontaine-ubi marked this pull request as ready for review February 1, 2024 18:12
@mlemieuxlafontaine-ubi mlemieuxlafontaine-ubi requested a review from a team as a code owner February 1, 2024 18:12
@mlemieuxlafontaine-ubi mlemieuxlafontaine-ubi requested review from louis-z and removed request for a team February 1, 2024 18:12
@louis-z louis-z merged commit 00c3542 into main Feb 1, 2024
6 checks passed
@louis-z louis-z deleted the allow-comment-range-type-to-be-nullable branch February 1, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants