Affects Version/s: Master
Component/s: GraphQL infrastructure (vulcan)
Registering a new ServletData component that returns null in the getQuery or getMutation method (because it only wants to contribute in one of those), cause an error en the GraphQL servlet creatiion, disabling all GraphQL requests processing.
Steps to reproduce it:
- Create a new module with a ServletData component that returns null in getMutation method.
- Deploy the new module
- Make a GraphQL request
Result: A exception is thrown at GraphQL servlet creation and GraphQL request is not processed
Expected Result: GraphQL servlet is created and GraphQL request is processed
The code of a ServletData implementation with the problem and a compiled module are attached to the issue to reproduce the problem