Make Rejected extend OperationResult (#29678)

To keep consistency with the documentation and the styleguide
`Rejected` case class should extend `OperationResult`
This commit is contained in:
Josep Prat 2020-09-30 13:39:02 +02:00 committed by GitHub
parent 90b79144e5
commit 58b1c30c6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -322,7 +322,7 @@ object StyleGuideDocExamples {
sealed trait OperationResult
case object Confirmed extends OperationResult
final case class Rejected(reason: String)
final case class Rejected(reason: String) extends OperationResult
}
//#message-protocol
}