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

Remove the inner tag to allow attaching the aspect to layers with multiple dependencies #1322

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

soujiro32167
Copy link
Contributor

Example:

val callTracing: AwsCallAspect[Tracer] = ???

val aws: ZLayer[AwsConfig, Throwable,  CognitoIdentityProvider] = ???

// Didn't compile before, because of the inner tag requirement
val withAspect:  ZLayer[AwsConfig & Tracer, Throwable,  CognitoIdentityProvider] = aws @@@ callTracing

@CLAassistant
Copy link

CLAassistant commented Aug 13, 2024

CLA assistant check
All committers have signed the CLA.

@vigoo vigoo merged commit a191784 into zio:master Aug 13, 2024
27 checks passed
@soujiro32167 soujiro32167 deleted the remove-inner-tag branch August 13, 2024 20:08
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