Show full mutation input variables like in a response
RokasVaitkevicius opened this issue · 2 comments
Hello, I have a question regarding variables in mutations. In most of my mutations I have a single input object which is of some custom type that houses all input props.
It would be great if those props from that type in documentation variables would be expanded like in responses.
Is it possible? Maybe there is an option in config that does that and I've missed it?
I know one option, is to add metadata and a custom example, but it seems quite cumbersome rewriting everything, that is already in the schema.
Also if we're talking about new features, it would also be nice to see custom type props here with mutation as well (red box I've made). They could be in an accordion or something.
+1
I was just wondering how to do this exact thing. I guess this would be a feature request. I think it should be for all type of operations, mutations and queries. This is the analog of the fieldExpansionDepth
option but for input types.
+1