Closed
Description
I have a method with signature:
@EntityMapping
fun floors(
representations: List<Map<String, Object>>
): Flux<Floors>
Calling it like this:
query MyQuery {
_entities(representations: [{code: "AM5", name: "0G", __typename: "Floors"}]) {
... on Floors {
__typename
code
name
spatialFloorId
}
}
}
Causes an error:
{
"errors": [
{
"message": "Could not resolve parameter [0] in public final reactor.core.publisher.Flux<com.equinix.vdc.spatial.generated.graphql.model.Floors> com.equinix.vdc.spatial.controller.floor.FloorsController.floors(java.util.List<? extends java.util.Map<java.lang.String, ?>>): No suitable resolver",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"_entities",
0
],
"extensions": {
"classification": "INTERNAL_ERROR"
}
}
],
"data": {
"_entities": [
null
]
}
}