-
Notifications
You must be signed in to change notification settings - Fork 36
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
chore: Remove ApiMayChange on Projection and RES over gRPC #1170
Conversation
@@ -556,7 +556,7 @@ private[projection] class R2dbcOffsetStore( | |||
val seqNr = recordWithOffset.record.seqNr | |||
val currentState = getState() | |||
|
|||
val duplicate = getState().isDuplicate(recordWithOffset.record) | |||
val duplicate = currentState.isDuplicate(recordWithOffset.record) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unrelated, small cleanup that I had lying around
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with some smaller stuff
@@ -592,7 +590,6 @@ object ConsumerFilter extends ExtensionId[ConsumerFilter] { | |||
|
|||
} | |||
|
|||
@ApiMayChange | |||
class ConsumerFilter(system: ActorSystem[_]) extends Extension { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should maybe be final since not meant for user extension
@@ -83,7 +81,6 @@ object GrpcReadJournal { | |||
|
|||
} | |||
|
|||
@ApiMayChange | |||
class GrpcReadJournal(delegate: scaladsl.GrpcReadJournal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final since public and not meant for extension
*/ | ||
@ApiMayChange | ||
abstract class ReplicatedBehaviors[Command, Event, State] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Not for user extension
*/
@DoNotInherit
Both language versions, we implement it and hand it to the user who only uses it
@@ -23,7 +22,6 @@ object Replica { | |||
|
|||
} | |||
|
|||
@ApiMayChange | |||
trait Replica { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trait Replica { | |
/** | |
* Not for user extension | |
*/ | |
@DoNotInherit | |
trait Replica { |
@@ -19,7 +18,6 @@ import akka.stream.scaladsl.FlowWithContext | |||
/** | |||
* Factory/function for creating the projection where offsets are kept track of for the replication streams | |||
*/ | |||
@ApiMayChange | |||
trait ReplicationProjectionProvider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trait ReplicationProjectionProvider { | |
@FunctionalInterface | |
trait ReplicationProjectionProvider { |
thanks, incorporated feedback |
No description provided.