Commit Graph

4 Commits

Author SHA1 Message Date
Yusef Napora
a26c845a76 use a DefaultRecord for unregistered PayloadTypes
instead of returning an error if we don't have a registered
Record for a given PayloadType, we can have a catch-all
DefaultRecord type that just preserves the original payload
as a []byte
2020-01-17 16:43:55 -05:00
Yusef Napora
7ee4611788 store reflect.Type when registering Record 2020-01-17 10:48:37 -05:00
Yusef Napora
972454490a doc comments 2020-01-17 10:42:26 -05:00
Yusef Napora
8dc249ddde use Record type for envelope payloads 2020-01-17 10:42:26 -05:00