Schema Context is invariant?

76 views
Skip to first unread message

Peter Hunsberger

unread,
Feb 14, 2017, 6:14:07 PM2/14/17
to sangria-graphql
Passing my version of the Schema into the Executor I ran into a type mismatch:

 found   : models.DseSchema
    (which expands to)  sangria.schema.Schema[ models.DseContext,AnyVal]
 required: sangria.schema.Schema[Object,AnyVal]
Note: models.DseContext <: Object, but class Schema is invariant in type Ctx.
You may wish to define Ctx as +Ctx instead. (SLS 4.5)

I think I can work around this, but from what I can tell this is on the Sangria side and if so there seems to be little point to the current definition?


Reply all
Reply to author
Forward
0 new messages