Make MiMa aware of @akka.annotation.ApiMayChange / @akka.annotation.InternalApi
See original GitHub issueWe introduced a few annotations to mark that a given type should not matter when checking bin-compat:
@ApiMayChange
- API still not quite stable, will change@InternalAPI
- internal API, can change however it wants to@DoNotInherit
- no one except the same library which provides this class should extend this class
Full types: https://github.com/akka/akka/pull/22110/files Example usage: https://github.com/akka/akka/issues/22109
MiMa could check if a type has annotations and if the name matches these then it can ignore warnings about a given type or method.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Akka 2.6.20 - akka.annotation - Documentation
trait ApiMayChange extends Annotation. Annotations: @Documented() @Retention() @Target() · trait DoNotInherit extends Annotation.
Read more >CONTRIBUTING.md ... - GitCode
The goal of these notes is to make your experience contributing to Akka as ... new subproject) and marking it's public api with...
Read more >sbt Reference Manual — Combined Pages
The Getting Started Guide covers the concepts you need to know to create and ... Let's get rid of += first, and annotate...
Read more >Akka A to Z: The Industry's Choice For Fast Data ... - YouTube
The Akka toolkit makes all of this simple for Java and Scala developers at Amazon, LinkedIn, Starbucks, Verizon and others.
Read more >akka.annotation.ApiMayChange.<init> java code examples
public static final StatusCode PROCESSING = akka.http.scaladsl.model.StatusCodes.Processing(); @ApiMayChange public static final StatusCode EARLY_HINTS ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, would be very cool 😃 I may hack on this… Would save us a lot of explaining to contributors who touch these classes.
Note that #647 only implements this for Scala 3, not for Scala 2.
(Because anything involving unpickling must be separately implemented, since Scala 3’s pickle format is completely different, being TASTy-based.)