Skip to content

Commit 8994e2b

Browse files
authored
json tag missing on Event.Metadata (#145)
Signed-off-by: Spolti <filippespolti@gmail.com>
1 parent 3433ba2 commit 8994e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func EventStructLevelValidation(structLevel validator.StructLevel) {
4848

4949
// Event used to define events and their correlations
5050
type Event struct {
51-
Common
51+
Common `json:",inline"`
5252
// Unique event name
5353
Name string `json:"name" validate:"required"`
5454
// CloudEvent source

0 commit comments

Comments
 (0)