Skip to content
Discussion options

You must be logged in to vote

Hi Matthias,

It would be helpful to create instances of RequestId to write units tests.

Can you expand on why you need to instantiate a RequestId in a unit test? I am assuming a libp2p-request-response user unit test?

In general, I would like to keep the interface of libp2p-* crates as small as possible as that allows us to package more changes as non-breaking, and thus easy for all of you to upgrade to.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@matthias-wright
Comment options

@thomaseizinger
Comment options

Answer selected by matthias-wright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants