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

graphql.schema.idl.EnumValuesProvider Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
package graphql.schema.idl;

import graphql.PublicSpi;

/**
 * Provides the Java runtime value for each graphql Enum value. Used for IDL driven schema creation.
 * 

* Enum values are considered static: This is called when a schema is created. It is not used when a query is executed. */ @PublicSpi public interface EnumValuesProvider { /** * @param name an Enum value * * @return not null */ Object getValue(String name); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy