You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to let the derive macros automatically add interfaces to objects? In the below example the Foo class extends the trait Bar and there exists an InterfaceType for type Bar. I think the macro should add the interface to the type.
traitBarcaseclassFoo(foo: String) extendsBarimplicitlazyvalBarInterfaceType:InterfaceType[_, Bar] =InterfaceType(
name ="Bar",
fields = sangria.schema.fields()
)
implicitlazyvalFooObjectType= deriveObjectType[_, Foo](
Interfaces(BarInterfaceType) // Can this part be removed?
)
I
The text was updated successfully, but these errors were encountered:
Would it be possible to let the derive macros automatically add interfaces to objects? In the below example the
Foo
class extends the traitBar
and there exists anInterfaceType
for typeBar
. I think the macro should add the interface to the type.I
The text was updated successfully, but these errors were encountered: