Skip to content

Commit

Permalink
Fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
filosganga committed Mar 29, 2023
1 parent 61a2631 commit cc31b4d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/core/src/main/scala-3/sangria/macros/ToExprGivens.scala
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,17 @@ trait ToExprGivens {
${ Expr(tc) },
${ Expr(p) })
}
case InterfaceTypeExtensionDefinition(n, f, d, c, tc, p) =>
case InterfaceTypeExtensionDefinition(n, f, d, c, tc, p, i) =>
'{
sangria.ast.InterfaceTypeExtensionDefinition(
${ Expr(n) },
${ Expr(f) },
${ Expr(d) },
${ Expr(c) },
${ Expr(tc) },
${ Expr(p) })
${ Expr(p) },
${ Expr(i) }
)
}
case InputObjectTypeExtensionDefinition(n, f, d, c, tc, p) =>
'{
Expand Down Expand Up @@ -237,7 +239,7 @@ trait ToExprGivens {
${ Expr(tc) },
${ Expr(p) })
}
case InterfaceTypeDefinition(n, f, d, desc, c, tc, p) =>
case InterfaceTypeDefinition(n, f, d, desc, c, tc, p, i) =>
'{
sangria.ast.InterfaceTypeDefinition(
${ Expr(n) },
Expand All @@ -246,7 +248,9 @@ trait ToExprGivens {
${ Expr(desc) },
${ Expr(c) },
${ Expr(tc) },
${ Expr(p) })
${ Expr(p) },
${ Expr(i) }
)
}
case ObjectTypeDefinition(n, i, f, d, desc, c, tc, p) =>
'{
Expand Down

0 comments on commit cc31b4d

Please sign in to comment.