-
|
I want to generate a Typescript object that matches the type generated for the operation. transformSelectionSet is the only public method I found to access the final shape of the object. However, the return type is a string and it's not clear to me what is the format of that string. Is it always a typescript interface? If no, is the format of that string specified somewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I created a subclass of Update the visitor selection set handler Plus and this way I have access to all the data and fully control the output format 👍 |
Beta Was this translation helpful? Give feedback.
I created a subclass of
SelectionSetToObjectthat overridestransformSelectionSetmethod and use it in myBaseDocumentsVisitorinstead.Update the visitor selection set handler
Plus