All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kobylynskyi.graphql.codegen.model.ApiRootInterfaceStrategy Maven / Gradle / Ivy

The newest version!
package com.kobylynskyi.graphql.codegen.model;

public enum ApiRootInterfaceStrategy {

    /**
     * Generate multiple super-interfaces for each graphql file.
     * Takes into account apiNamePrefixStrategy.
     * e.g.: OrderServiceQueryResolver.java, ProductServiceQueryResolver.java, etc.
     * (in addition to separate interfaces for each query/mutation/subscription)
     */
    INTERFACE_PER_SCHEMA,

    /**
     * Generate a single QueryResolver.java, MutationResolver.java, SubscriptionResolver.java for all graphqls
     * (in addition to separate interfaces for each query/mutation/subscription)
     */
    SINGLE_INTERFACE,

    /**
     * Do not generate super interface for GraphQL operations.
     */
    DO_NOT_GENERATE

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy