Package se.l4.graphql.binding.naming
Class DefaultGraphQLNamingFunction
java.lang.Object
se.l4.graphql.binding.naming.DefaultGraphQLNamingFunction
- All Implemented Interfaces:
GraphQLNamingFunction
public class DefaultGraphQLNamingFunction extends Object implements GraphQLNamingFunction
-
Constructor Summary
Constructors Constructor Description DefaultGraphQLNamingFunction()
-
Method Summary
Modifier and Type Method Description String
compute(GraphQLNamingEncounter encounter)
Computer the name for the given encounter.
-
Constructor Details
-
DefaultGraphQLNamingFunction
public DefaultGraphQLNamingFunction()
-
-
Method Details
-
compute
Description copied from interface:GraphQLNamingFunction
Computer the name for the given encounter.- Specified by:
compute
in interfaceGraphQLNamingFunction
- Parameters:
encounter
- encounter with context and type information- Returns:
- computer name
-