GraphQLQueryResolver 多实例

kickstart 的spring boot 已经支持多实例了,即支持使用component模式定义多个GraphQLQueryResolver 及GraphQLMutationResolver

@Component
class Query2 implements GraphQLQueryResolver {

@Component
public class Mutation implements GraphQLMutationResolver {

完整示意代码:
https://download.csdn.net/download/weixin_40455124/12823146

你可能感兴趣的:(graphql,架构,java,kickstart,GraphQL,Resolver)