(message any)
| 985 | } |
| 986 | |
| 987 | func (m *connectUnaryRequestMarshaler) Marshal(message any) *Error { |
| 988 | if m.enableGet { |
| 989 | if m.stableCodec == nil && !m.getUseFallback { |
| 990 | return errorf(CodeInternal, "codec %s doesn't support stable marshal; can't use get", m.codec.Name()) |
| 991 | } |
| 992 | if m.stableCodec != nil { |
| 993 | return m.marshalWithGet(message) |
| 994 | } |
| 995 | } |
| 996 | return m.connectUnaryMarshaler.Marshal(message) |
| 997 | } |
| 998 | |
| 999 | func (m *connectUnaryRequestMarshaler) marshalWithGet(message any) *Error { |
| 1000 | // TODO(jchadwick-buf): This function is mostly a superset of |
nothing calls this directly
no test coverage detected