Closed klys-equinix closed 3 months ago
Binding with the DataFetchingEnvironment works fine:
@EntityMapping
fun floors(
env: DataFetchingEnvironment
): Flux<Floors>
And i can see that this env contain correct representations in debugger, but i cannot access them since the EntityBatchDataFetchingEnvironment is not public
This is working correctly if i force kotlin to use Java collections:
@EntityMapping
fun floors(
env: DataFetchingEnvironment,
representations: java.util.List<Map<String, String>>
): Flux<Floors>
Seems like the issue is in
EntityArgumentsMethodArgumentResolver::supportsParameter
There is a fix in 1.3.2-SNAPSHOT
now if you'd like to give it a try.
I have a method with signature:
Calling it like this:
Causes an error: