validate subscription function return type when generating schema #359
Labels
good first issue
A good place to start as a new contributor
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Per graphql-java docs subscription data fetchers should return some
Publisher
(e.g. ReactorFlux
). Currently we don't perform any validations to verify that functions specified for subscriptions return valid types.Describe the solution you'd like
Schema generator should fail generation process if subscription function returns unsupported type.
Describe alternatives you've considered
N/A
Additional context
Related issue -> #358
The text was updated successfully, but these errors were encountered: