Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
versioning idea
package versioning
// version 1 defined 2 actions here
trait V1 {
val SetOptOut = EmailPreferenceActions.SetOptOut
val GetSailthruEmail = EmailPreferenceActions.GetSailthruEmail
}
object V1Api extends V1
// version 2 need to replace SetOptOut with SetOptOutImproved
// while keeping the other ones the same as V1
trait V2 extends V1 {
override val SetOptOut = EmailPreferenceActions.SetOptOutImproved
}
object V2Api extends V2
object EmailPreferenceActions {
case class SetOptOut ...
case class GetSailthruEmail ...
case class SetOptOutImproved ...
}
object EmailPreferenceActionsWithRedis {
case class SetOptOutImproved ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.