Skip to content

Commit

Permalink
Add back registers
Browse files Browse the repository at this point in the history
  • Loading branch information
damondouglas committed Apr 27, 2024
1 parent 485bb4f commit 4239007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdks/go/pkg/beam/io/webapi/webapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ import (
)

func init() {
beam.RegisterType(reflect.TypeOf((*wrappedCallerOnlyUserType)(nil)).Elem())
beam.RegisterType(reflect.TypeOf((*Request)(nil)).Elem())
beam.RegisterType(reflect.TypeOf((*Response)(nil)).Elem())
register.Emitter1[*Response]()
register.DoFn3x1[context.Context, *Request, func(*Response), error](&callerFn{})
}
Expand Down

0 comments on commit 4239007

Please sign in to comment.