Skip to content

Connectum API Reference / @connectum/test-fixtures / types / MockDescMethodOptions

Interface: MockDescMethodOptions ​

Defined in: types.ts:111

Options for createMockDescMethod.

Properties ​

input? ​

optional input?: DescMessage

Defined in: types.ts:113

Input message descriptor.


kind? ​

optional kind?: "client_streaming" | "server_streaming" | "bidi_streaming" | "unary"

Defined in: types.ts:117

Method kind. Default: 'unary'


output? ​

optional output?: DescMessage

Defined in: types.ts:115

Output message descriptor.


useSensitiveRedaction? ​

optional useSensitiveRedaction?: boolean

Defined in: types.ts:126

Put the fixture-only marker { debug_redact: true } into proto.options. Default: false

Deprecated ​

google.protobuf.MethodOptions has no debug_redact field: the marker exists only in this fixture, nothing in Connectum reads it, and it does not conform to a compiled descriptor. It keeps its behaviour for existing tests. Mark a field with isSensitive instead.