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
{{ message }}
This repository was archived by the owner on May 16, 2019. It is now read-only.
Paweł Gutkowski edited this page Jul 28, 2017
·
1 revision
Resolver is KGraphQL definition of piece of system logic, required to resolve response graph. Operations, Extension Properties and Union Properties accept resolver, which allows schema creator to configure schema behaviour.
Resolver clause accepts kotlin function and returns its DSL item, which is entry point for additional customization of resolver
withArgs {}
withArgs closure exposes single method arg
arg { }
arg exposes possibility to customize argument default value. Default value is automatically used if query doesn't provide any. it is matched by argument name.