Skip to content

Can't remove repository ruleset's every Bypass Actors because of serialization issue #3137

@lado936

Description

@lado936

Hello all,
I am using go-github repository ruleset update function from here

but issue is that, if i already have bypassactors set and want to remove all of them, it not applying changes as bypassactors has omitempty set here, if i understand correctly, omitempty must be removed if i want to pass empty list there. Proposing to remove omitempty if there is no case i can't see, why its needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions