diff --git a/kotlin-runtime/ftl-runtime/src/main/kotlin/xyz/block/ftl/schemaextractor/ExtractSchemaRule.kt b/kotlin-runtime/ftl-runtime/src/main/kotlin/xyz/block/ftl/schemaextractor/ExtractSchemaRule.kt index fdfecbb3d4..de3be23e53 100644 --- a/kotlin-runtime/ftl-runtime/src/main/kotlin/xyz/block/ftl/schemaextractor/ExtractSchemaRule.kt +++ b/kotlin-runtime/ftl-runtime/src/main/kotlin/xyz/block/ftl/schemaextractor/ExtractSchemaRule.kt @@ -314,7 +314,7 @@ class SchemaExtractor(val bindingContext: BindingContext, annotation: KtAnnotati companion object { private fun getCallMatcher(ctxVarName: String): Regex { - return """${ctxVarName}.call\((?[^)]+),(?[^)]+)\(\)\)""".toRegex(RegexOption.IGNORE_CASE) + return """${ctxVarName}.call\((?[^)]+),(?[^)]+)\(.*\)\)""".toRegex(RegexOption.IGNORE_CASE) } private fun KotlinType.getTypeArguments(): List =