11package graphql .execution ;
22
3- import graphql .language . Field ;
3+ import graphql .PublicApi ;
44import graphql .schema .GraphQLInterfaceType ;
55import graphql .schema .GraphQLSchema ;
66import graphql .schema .GraphQLUnionType ;
77
88import java .util .Map ;
99
10+ @ PublicApi
1011public class TypeResolutionParameters {
1112
1213 private final GraphQLInterfaceType graphQLInterfaceType ;
1314 private final GraphQLUnionType graphQLUnionType ;
14- private final Field field ;
15+ private final MergedFields field ;
1516 private final Object value ;
1617 private final Map <String , Object > argumentValues ;
1718 private final GraphQLSchema schema ;
1819 private final Object context ;
1920
2021 private TypeResolutionParameters (GraphQLInterfaceType graphQLInterfaceType , GraphQLUnionType graphQLUnionType ,
21- Field field , Object value , Map <String , Object > argumentValues , GraphQLSchema schema , final Object context ) {
22+ MergedFields field , Object value , Map <String , Object > argumentValues , GraphQLSchema schema , final Object context ) {
2223 this .graphQLInterfaceType = graphQLInterfaceType ;
2324 this .graphQLUnionType = graphQLUnionType ;
2425 this .field = field ;
@@ -36,7 +37,7 @@ public GraphQLUnionType getGraphQLUnionType() {
3637 return graphQLUnionType ;
3738 }
3839
39- public Field getField () {
40+ public MergedFields getField () {
4041 return field ;
4142 }
4243
@@ -62,15 +63,15 @@ public Object getContext() {
6263
6364 public static class Builder {
6465
65- private Field field ;
66+ private MergedFields field ;
6667 private GraphQLInterfaceType graphQLInterfaceType ;
6768 private GraphQLUnionType graphQLUnionType ;
6869 private Object value ;
6970 private Map <String , Object > argumentValues ;
7071 private GraphQLSchema schema ;
7172 private Object context ;
7273
73- public Builder field (Field field ) {
74+ public Builder field (MergedFields field ) {
7475 this .field = field ;
7576 return this ;
7677 }
0 commit comments