We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8faa59b commit da896c4Copy full SHA for da896c4
internal/history/serialization.go
@@ -8,7 +8,8 @@ import (
8
func (e *Event) UnmarshalJSON(data []byte) error {
9
type Aevent Event
10
a := &struct {
11
- Attributes json.RawMessage
+ // Attributes allows us to defer unmarshaling the events. Has to match the struct tag in Event
12
+ Attributes json.RawMessage `json:"attr,omitempty"`
13
*Aevent
14
}{}
15
0 commit comments