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
* This class is determining how to return value of a method from an api entity
39
+
* The order of the mapping:
40
+
* 1. If no source is provided to map between - invoking the method implementation
41
+
* 2. If annotated with @GraphQLInvokeDetached - invoking the method implementation
42
+
* 3. else If source is provided, and method name is matching a method name in the source object - execute source implementation
43
+
* i.e method name is: `name` ; existing method in the source object with name: `name`
44
+
* 4. else If source is provided, and method name is matching a method name with a `get` prefix in the source object - execute source implementation
45
+
* i.e method name is: `name` ; existing method in the source object with name: `getName`
46
+
* 5. else If source is provided, and method name is matching a method name with a `is` prefix in the source object - execute source implementation
47
+
* i.e method name is: `name` ; existing method in the source object with name: isName
48
+
* 6. else If source is provided, and method name is matching a field name in the source object - return field value from the source object
49
+
* i.e method name is: `name` ; field name in source object is: `name`
50
+
* 7. else If source is provided, and method name is prefixed with `get` or `is` - and it matches to a field name (without the prefix) in the source object - return field value from the source object
51
+
* i.e method name is: `getName` ; field name in source object is: `name`
0 commit comments