graphiql icon indicating copy to clipboard operation
graphiql copied to clipboard

The description for arguments not showing

Open wszgxa opened this issue 7 years ago • 4 comments

Hi, I have added a description for argument. But, It will not show in graphiql.I can find the description in http response: image

But it will not show in doc.

wszgxa avatar Jan 02 '19 03:01 wszgxa

i started experimenting with this, very easy to add programatically, but I'm not sure how or where it should render. Do you have any suggestions as to how it should look?

acao avatar Jun 10 '19 11:06 acao

Screen Shot 2019-06-10 at 7 32 05 AM

this is what it looks like without any styling :/

acao avatar Jun 10 '19 11:06 acao

@acao I'd like to work on this. Can you help me get started?

aniketbiswas21 avatar Mar 08 '21 07:03 aniketbiswas21

sure! offhand I believe the file is packages/graphiql/src/components/DocExplorer/Arguments.tsx probably best to re-use or create a new css class to style this description item as well

acao avatar Sep 10 '21 08:09 acao

We resolved this bug last year - enjoy!

While you're here, we also now have field argument deprecation 😍

Thanks for reporting this!

acao avatar Nov 13 '22 09:11 acao