Repository navigation
Playground docstring support? #167
Unanswered
conorscheidt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Info
seaography-cli 1.0.0-rc.2sea-orm-cli 0.12.15The server code was generated using the
actixoption forseaography-cli.Question
Given a generated entity like this one:
Is it possible to make the rust doc comments to also show up in the playground (in the "docs" or "schema" tab)? It looks like this is possible in
async_graphqlas mentioned here, using theasync_graphql::Descriptionproc macro, but adding it to the model seems to have no effect (as seen below).Also, it looks like the
schema.disableCommentsoption is automatically set totruein the GraphQL playground's settings, but setting it tofalsestill doesn't cause the playground to show descriptions.I might be missing something pretty simple here (which is why this isn't in issues), and I would appreciate any help.
All reactions