We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since we can return ResultIterators to graphqlite, we should be able to return mapIterators too since they are specific resultIterators.
The text was updated successfully, but these errors were encountered:
Not sure what you mean.
MapIterator is an iterator, so you need to tell GraphQLite the exact type in the @return annotation, but this should work.
Something like this should work:
/** * @Query * @return MapIterator|string[] */ public function test(): MapIterator
Sorry, something went wrong.
No branches or pull requests
Since we can return ResultIterators to graphqlite, we should be able to return mapIterators too since they are specific resultIterators.
The text was updated successfully, but these errors were encountered: