Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ZManaged accessible (without macros) #7120

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

charlescd
Copy link
Contributor

accessible macro generates accessors on members returning either ZIO or ZManaged.

In our project, we don't use this macro but the macro-less trait Accessible. Unfortunately, it currently only works on members returning ZIO.

This PR aims to extend this trait to support ZManaged

@CLAassistant
Copy link

CLAassistant commented Jul 23, 2022

CLA assistant check
All committers have signed the CLA.

@adamgfraser
Copy link
Contributor

I don't think this change is binary compatible.

@charlescd
Copy link
Contributor Author

Indeed it's not, sorry about that. I just don't get why mima checks are green for 2.12 and 2.13.
Anyway, I implemented it in a separated trait to make it compatible.

@jdegoes jdegoes merged commit 4162585 into zio:series/1.x Nov 23, 2022
@sideeffffect
Copy link
Member

Just a heads up, this won't make it to series/2.x, is that OK?
#7853

@adamgfraser
Copy link
Contributor

@sideeffffect That's fine.

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.

None yet

5 participants