Interface GraphQlArgumentBinder.NameResolver
- Enclosing class:
GraphQlArgumentBinder
public static interface GraphQlArgumentBinder.NameResolver
Contract to customize the mapping of GraphQL argument names to Object
properties. This can be useful for dealing with naming conventions like
the use of "-" that cannot be used in Java property names.
- Since:
- 2.0.0
- Author:
- Brian Clozel, Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionandThen
(GraphQlArgumentBinder.NameResolver resolver) Append another resolver to be invoked after the current one.resolveName
(String name) Resolve the given GraphQL argument name to an Object property name.
-
Method Details
-
resolveName
-
andThen
Append another resolver to be invoked after the current one.- Parameters:
resolver
- the resolver to invoked- Returns:
- a new composite resolver
-