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 scala_proto_aspect have "provides = [ScalaProtoAspectInfo]" #1549

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

timothyg-stripe
Copy link
Contributor

Description

Add provides = [ScalaProtoAspectInfo] to scala_proto_aspect.

Motivation

scala_proto_aspect always returns a ScalaProtoAspectInfo provider, so there's no reason why the provider is not listed in the aspect(provides=[…]) list. Crucially, having provides = [ScalaProtoAspectInfo] enables aspect-on-aspect, allowing a second aspect to inspect the result of scala_proto_aspect.

@timothyg-stripe
Copy link
Contributor Author

I'm not sure why CI is failing. While I can reproduce the same error locally on a MacBook, I get the same errors on the current master branch.

Copy link
Collaborator

@liucijus liucijus left a comment

Choose a reason for hiding this comment

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

Thanks, @timothyg-stripe!

@liucijus liucijus merged commit 4fcb0da into bazelbuild:master Mar 29, 2024
2 checks passed
@timothyg-stripe timothyg-stripe deleted the patch-1 branch March 29, 2024 19:10
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