Missing return annotation Error
Description
This error is thrown when a resolver and itβs corresponding field donβt have a return annotation, for example the following code will throw this error:
This happens because Strawberry needs to know the return type of the resolver to be able to generate the correct GraphQL type.
How to fix this error
You can fix this error by adding a return annotation to the resolver, for example, the following code will fix this error: