3 ms·
We tried to migrate an old gigantic legacy software from REST to GraphQL and left it in midway. We were just not convinced by the effort which goes into creatin
by truth_seeker 7y ago
We tried to migrate an old gigantic legacy software from REST to GraphQL and left it in midway. We were just not convinced by the effort which goes into creating and maintaining the GraphQL layer.
We went ahead with JSON RPC
https://www.jsonrpc.org/specification https://www.jsonrpc.org/specification
JSON/RPC is much simpler to implement and consume. You just have to expose server-side functions as endpoints and when it comes to build authentication and Authorization you can build using (Python or Typescript like) Decorator or just a Higher Order Functions which wraps the functions to be exposed to control the input and output in aspected oriented way.