Using args functionality on another message
Hello, I want to use the Args.pickResult() function on another message. Is there any way I can do this? For example, making an args object for that message?
1 Reply
rather than using pickResult and the like you can use the resolvers which args use internally.
user
now has the type
so you can then call the same methods as you would after a pickResult
All the built in args are exposed as resolvers: