paypal / mocca

Mocca is a GraphQL client for JVM languages with the goal of being easy to use, flexible and modular.
MIT License
15 stars 14 forks source link

Add support for operations with no variables by setting no parameters in the request method #14

Closed fabiocarvalho777 closed 3 years ago

fabiocarvalho777 commented 3 years ago

This is not supported at the moment because if the client target interface has a request method with no parameters, Feign will not call Mocca encoder, as seen here.

Probably the solution here will require a modification in Feign to support calling custom encoder even if request method has no parameters.

fabiocarvalho777 commented 3 years ago

This issue depends on https://github.com/OpenFeign/feign/issues/1448