Add `SetMetadata` method on Response

Open
#149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
api

Research direction

Start by comparing the response API with the Request.GetMetadata entry point linked in the issue. Locate how response metadata is represented and exposed, then add the corresponding setter and verify that response metadata can be assigned and retrieved through the existing API tests.

Written by the indexing model from the issue text.

Description

It is currently possible to get metadata from a request, but there doesn't seem to be a way to set metadata on a response.

Dominant language
Go
Stars
674
Forks
90
Avg merge
16h 32m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/ttrpc

All issues in containerd/ttrpc

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.