Software Architect @ Schlumberger ``` Cloud | Microservices | Programming | Kubernetes | Architecture | Machine Learning | Java | Python ```

Spring for GraphQL: Mutation

Spring for GraphQL mutation
In GraphQL, a mutation is used to insert, update or delete data. The mutation API is defined with the type Mutation rather than the Query. In Spring for Graphql, a mutation can be implemented using @SchemaMapping or @MutationMapping.

Spring for GraphQL : @SchemaMapping and @QueryMapping

Spring GraphQL with @Controller, @SchemaMapping and @QueryMapping

In the last article Getting started with Spring Boot GraphQL service, we discussed features of GraphQL and its implementation in Spring for GraphQL using low-level APIs of GraphQL Java. While low-level GraphQL Java implementation is fine for understanding the concept,…

gRPC: synchronous and asynchronous Server streaming RPC

gRPC, one of the most popular RPC frameworks for inter-process microservices communication, supports both unary and streaming RPC. Contrary to unary RPC, in gRPC streaming RPC, a client sends a single request, and in return, the server sends a stream of messages. In this article, we will see how to implement server streaming RPC and how to handle errors in streaming response.