Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

add an error return value to the constructor #87

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

marten-seemann
Copy link
Contributor

No description provided.

@marten-seemann marten-seemann force-pushed the constructor-return-value branch 2 times, most recently from 00f5050 to 5be7812 Compare November 26, 2021 06:52
@marten-seemann marten-seemann requested a review from vyzo November 26, 2021 06:58
Copy link
Contributor

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will break all users, can we add a second constructor instead?

@marten-seemann
Copy link
Contributor Author

That's what we have semver for. This release will have more breaking changes.

@marten-seemann marten-seemann force-pushed the constructor-return-value branch from 5be7812 to cceb5e3 Compare November 28, 2021 14:09
@marten-seemann marten-seemann requested a review from vyzo November 28, 2021 14:09
@marten-seemann
Copy link
Contributor Author

@vyzo Now that we've decided to cut a new go-libp2p release, can I get your approval for this PR?

@marten-seemann marten-seemann force-pushed the constructor-return-value branch 2 times, most recently from 7119513 to bd5780f Compare November 29, 2021 05:48
@marten-seemann marten-seemann force-pushed the constructor-return-value branch from bd5780f to 3c31fe5 Compare November 29, 2021 05:50
@marten-seemann marten-seemann merged commit 052c857 into master Nov 29, 2021
@marten-seemann marten-seemann deleted the constructor-return-value branch November 29, 2021 06:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants