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:
parent
90b79144e5
commit
58b1c30c6c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue