Just came a cross the need to use IncludeTypes in a changefeed and noticed that
the current ChangeReponse struct does not include the Type field.
It is pretty trivial to add the new field so I was wondering if there is maybe an issue with doing so? if not happy to submit a pr with the small change..
thanks!
type ChangeResponse struct {
NewValue interface{} `rethinkdb:"new_val,omitempty"`
OldValue interface{} `rethinkdb:"old_val,omitempty"`
State string `rethinkdb:"state,omitempty"`
Error string `rethinkdb:"error,omitempty"`
Type string `rethinkdb:"type,omitempty"` <--------
}
Hello,
thanks for the wonderful work..
Just came a cross the need to use
IncludeTypes
in a changefeed and noticed that the currentChangeReponse
struct does not include theType
field. It is pretty trivial to add the new field so I was wondering if there is maybe an issue with doing so? if not happy to submit a pr with the small change..thanks!