Skip to content

Commit

Permalink
[DROP] Test commit to demonstrate PRR field validation
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Augustus <foo@auggie.dev>
  • Loading branch information
justaugustus committed Feb 1, 2021
1 parent 6e748a3 commit b78806b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/approval.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ type PRRApproval struct {

// TODO(api): Move to separate struct for handling document parsing
Error error `json:"-" yaml:"-"`

FakeRequiredField string `json:"fake-required-field" yaml:"fake-required-field" validate:"required"`
}

func (prr *PRRApproval) Validate() error {
Expand Down

0 comments on commit b78806b

Please sign in to comment.