Skip to content

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 bazel-contrib:master Mar 29, 2024
@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