Skip to content

Fix JSON serialization in BranchRestriction model#32

Open
olsh wants to merge 1 commit into
lvermeulen:masterfrom
olsh:fix-branch-restriction-model
Open

Fix JSON serialization in BranchRestriction model#32
olsh wants to merge 1 commit into
lvermeulen:masterfrom
olsh:fix-branch-restriction-model

Conversation

@olsh
Copy link
Copy Markdown

@olsh olsh commented Apr 11, 2024

Changed the 'BranchType' property in the BranchRestriction model to now be nullable, and to ignore default values when serializing using JsonProperty. This change helps to better handle cases where the 'branch_type' field might not be set.

Changed the 'BranchType' property in the BranchRestriction model to now be nullable, and to ignore default values when serializing using JsonProperty. This change helps to better handle cases where the 'branch_type' field might not be set.
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.

1 participant