File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66
77type Filter struct {
88 Operations []common.OperationType `json:"operations"`
9- EntityType common.DatabaseEntityType `json:"entity_type "`
9+ EntityType common.DatabaseEntityType `json:"entity-type "`
1010}
1111
1212func (f Filter ) Validate () error {
@@ -30,7 +30,7 @@ func (f Filter) Validate() error {
3030}
3131
3232type Options struct {
33- SendEverything bool `json:"send_everything "`
33+ SendEverything bool `json:"send-everything "`
3434 Filters []Filter `json:"filters"`
3535}
3636
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ const (
2828)
2929
3030type ChangePayload struct {
31- EntityType DatabaseEntityType
32- Operation OperationType
33- Payload interface {}
31+ EntityType DatabaseEntityType `json:"entity-type"`
32+ Operation OperationType `json:"operation"`
33+ Payload interface {} `json:"payload"`
3434}
3535
3636type Consumer interface {
You can’t perform that action at this time.
0 commit comments