Skip to content

Commit

Permalink
fix not setting default decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannm committed Feb 12, 2022
1 parent c573752 commit e7e559a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/bundle/fasthttp/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (r *bundle) Register(svc ronykit.Service) {
continue
}
decoder, ok := contract.Query(queryDecoder).(DecoderFunc)
if !ok {
if !ok || decoder == nil {
decoder = reflectDecoder(ronykit.CreateMessageFactory(contract.Input()))
}

Expand Down

0 comments on commit e7e559a

Please sign in to comment.