Closed jeremyraadttwins closed 2 years ago
I figured out my issue. In my UseMyThingAttribute
class I had descriptor.Type<ListType<ObjectType<Look>>>();
when I needed descriptor.Type<ObjectType<Look>>();
. I was using the same middleware for returning a list of cars and a single car.
Is there an existing issue for this?
Describe the bug
When I add custom middleware to mutations I get an error block with the message "The type
HotChocolate.Execution.Processing.ResultMapList
is not supported as list value." and the extension code "EXEC_LIST_TYPE_NOT_SUPPORTED".Steps to reproduce
Here is my basic test case. The middleware does nothing, but I still get the "EXEC_LIST_TYPE_NOT_SUPPORTED" error.
Mutation.cs:
Client Query:
Middleware:
Relevant log output
No response
Additional Context?
No response
Product
Hot Chocolate
Version
12.15.0