Skip to content

Commit

Permalink
Merge pull request #429 from guardian/ag/covariant-query-response
Browse files Browse the repository at this point in the history
Make the ContentApiQuery type convariant in Response
  • Loading branch information
fredex42 authored Jul 2, 2024
2 parents c406c9e + 4f29429 commit 2fc15c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import com.gu.contentapi.client.{Parameter, Parameters}
import com.gu.contentatom.thrift.AtomType
import com.twitter.scrooge.ThriftStruct

sealed trait ContentApiQuery[Response <: ThriftStruct] {
sealed trait ContentApiQuery[+Response <: ThriftStruct] {
def parameters: Map[String, String]

def pathSegment: String
Expand Down

0 comments on commit 2fc15c3

Please sign in to comment.