Skip to content

Commit

Permalink
fix: output serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
y9vad9 committed Jan 13, 2024
1 parent aedec97 commit c985a0e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ internal object ServerServiceTransformer {
"""
%1T(
name = "${rpc.name}",
inputSerializer = %2T.serializer() as %3T<Any>,
outputSerializer = %3T.serializer() as %3T<Any>,
inputSerializer = %2T.serializer() as %4T<Any>,
outputSerializer = %3T.serializer() as %4T<Any>,
procedure = ${getProcedure(rpc)}
)
""".trimIndent(),
Expand All @@ -64,7 +64,8 @@ internal object ServerServiceTransformer {
else -> error("Should never reach this state.")
},
receiverType,
Types.kserializer,
returnType,
Types.kserializer
)
)

Expand Down

0 comments on commit c985a0e

Please sign in to comment.