ktor-docs-plugin icon indicating copy to clipboard operation
ktor-docs-plugin copied to clipboard

Feature request: Handle templated and concatenated string in route paths

Open AlbRoehm opened this issue 1 year ago • 0 comments

As mentioned in the slack message it would be great to use const val strings, concatednated or templated strings for paths.

I tried to extend the FirFunctionCall.extractArguments() in ExpressionVisitorK2.kt which from my shallow understanding is doing this job but after a few hours i was not able to come up a pr. Somehow i was unable to extract the needed values out of the FirStringConcatenationCall and FirPropertyAccessExpression. I will try to follow your pr in case you can take this issue up to get some more understanding about the plugin world.

AlbRoehm avatar Oct 07 '24 07:10 AlbRoehm