You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the class that extends from `DataFetcher.class` will get this args to two supported constructors <br>
183
+
Or to a constructor that expecting String array that's way (`String[] args` or `String... args`) or for a constructor that expecting the same number of args that you send with in the annotation.<br>
If no argument is needed and a `getInstance` method is present, this method will be called instead of the constructor.
173
207
174
208
## Type extensions
@@ -218,7 +252,7 @@ public class HumanExtension {
218
252
Classes marked as "extensions" will actually not define a new type, but rather set new fields on the class it extends when it will be created.
219
253
All GraphQL annotations can be used on extension classes.
220
254
221
-
Extensions are registered in GraqhQLAnnotationProcessor by using `registerTypeExtension`. Note that extensions must be registered before the type itself is requested with `getObject()` :
255
+
Extensions are registered in GraphQLAnnotationProcessor by using `registerTypeExtension`. Note that extensions must be registered before the type itself is requested with `getObject()` :
0 commit comments