Nikita Koptelov

Results 44 comments of Nikita Koptelov

@pquerna: well, it should instantiate []byte arrays as well - I think ffjson does that now

``` oldie% ./tests 2015/09/08 14:19:49 GOMAXPROCS: 1 2015/09/08 14:19:56 encoding/json Marshal Function: 1000000 1477 ns/op 2015/09/08 14:19:56 encoding/json Encoder Function: 1000000 1452 ns/op 2015/09/08 14:19:56 ffjson Marshal Function: 2000000 714...

Same here, I guess it's more about https://github.com/tumashu/posframe than ivy-posframe

You can override global marshaler using [httpruntime](https://github.com/utrack/clay/blob/master/transport/httpruntime/marshaler.go#L26): https://github.com/utrack/clay/blob/master/transport/httpruntime/mjson.go#L13 ``` httpruntime.OverrideMarshaler("application/json",httpruntime.MarshalerPbJSON{ Marshaler: &runtime.JSONPb{EmitDefaults: true}, Unmarshaler: &runtime.JSONPb{}, GogoMarshaler: &gogojsonpb.Marshaler{EmitDefaults:true}, GogoUnmarshaler: &gogojsonpb.Unmarshaler{}, }) ```

It's a great idea, I believe :) I'm all for it if you'll manage to override marshaler settings per-handler, without breaking global injection.

Sorry, my documentation is poorly worded - I've been meaning to say "zero additional marshalling steps/hardwired to own code", but in a simpler way :) I'll think of how to...

Nope, now they're used only for gRPC calls, while separate HTTP middlewares are used for HTTP calls. It's a possible thing to do, however we haven't focused on it yet....

``` ## Alternatives There's also an excellent [grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) proxy generator. It allows you to split your HTTP endpoints to a separate HTTP gateway instance at the expense of flexibility. ```...

Hi RoarkeRandall, Thanks for reaching out! I'm happy that you've found it useful :) Can you please share your `goban.cfg` and how you run `goban`? I've tried testing it right...

Aha, I think I've got it. It works for rule `context.TODO`, but not for `context.TODO()`. I'll get on it right away.