@@ -59,20 +59,6 @@ isolated function getServiceInterceptors(GraphqlServiceConfig? serviceConfig) re
59
59
return [];
60
60
}
61
61
62
- isolated function getIntrospection(GraphqlServiceConfig? serviceConfig ) returns boolean {
63
- if serviceConfig is GraphqlServiceConfig {
64
- return serviceConfig .introspection ;
65
- }
66
- return true ;
67
- }
68
-
69
- isolated function getValidation(GraphqlServiceConfig? serviceConfig ) returns boolean {
70
- if serviceConfig is GraphqlServiceConfig {
71
- return serviceConfig .validation ;
72
- }
73
- return true ;
74
- }
75
-
76
62
isolated function getFieldInterceptors(service object {} serviceObj , parser : RootOperationType operationType ,
77
63
string fieldName , string [] resourcePath ) returns readonly & (readonly & Interceptor )[] {
78
64
GraphqlResourceConfig ? resourceConfig = getResourceAnnotation (serviceObj , operationType , resourcePath , fieldName );
@@ -109,22 +95,6 @@ isolated function getInterceptorConfig(readonly & Interceptor interceptor) retur
109
95
return classType .@InterceptorConfig ;
110
96
}
111
97
112
- isolated function getCacheConfig(GraphqlServiceConfig? serviceConfig ) returns ServerCacheConfig ? {
113
- if serviceConfig is GraphqlServiceConfig {
114
- if serviceConfig .cacheConfig is ServerCacheConfig {
115
- return serviceConfig .cacheConfig ;
116
- }
117
- }
118
- return ;
119
- }
120
-
121
- isolated function getFieldCacheConfigFromServiceConfig(GraphqlServiceConfig? serviceConfig ) returns ServerCacheConfig ? {
122
- if serviceConfig is GraphqlServiceConfig {
123
- return serviceConfig .fieldCacheConfig ;
124
- }
125
- return ;
126
- }
127
-
128
98
isolated function getFieldCacheConfig(service object {} serviceObj , parser : RootOperationType operationType ,
129
99
string fieldName , string [] resourcePath ) returns ServerCacheConfig ? {
130
100
GraphqlResourceConfig ? resourceConfig = getResourceAnnotation (serviceObj , operationType , resourcePath , fieldName );
0 commit comments