Skip to content

Conversation

sergeyQx
Copy link
Contributor

@sergeyQx sergeyQx commented May 5, 2021

RdOuterLifetime to pass OuterLifetime over the protocol

@ForNeVeR ForNeVeR requested a review from ulex May 6, 2021 06:01
Copy link
Collaborator

@ulex ulex left a comment

Choose a reason for hiding this comment

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

I have no objection to merging it, but I think we should refrain from this scheme by default and use it only in special situations. There are existing implicit alternatives to Lifetime in protocol (like presense in live collections) which should be used in the most scenarios.

@korifey
Copy link
Contributor

korifey commented May 6, 2021

Totally agree with @ulex

what is your scenario of passing lifetime explicitly?
usually you set some property and view it to get lifetime on counterpart side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants