Skip to content

*Client.NewStream() does not apply metadata to Request{} #159

@amurchick

Description

@amurchick

*Client.Call() apply metadata to Request{}:

ttrpc/client.go

Lines 162 to 164 in faba589

if metadata, ok := GetMetadata(ctx); ok {
metadata.setRequest(creq)
}

But *Client.NewStream() does not have this block - so metadata not applyed.

Please add this block to *Client.NewStream().
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions