You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_graphql as mentioned here, using the async_graphql::Description proc macro, but adding it to the model seems to have no effect (as seen below).
Also, it looks like the schema.disableComments option is automatically set to true in the GraphQL playground's settings, but setting it to false still 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Info
seaography-cli 1.0.0-rc.2
sea-orm-cli 0.12.15
The server code was generated using the
actix
option 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_graphql
as mentioned here, using theasync_graphql::Description
proc macro, but adding it to the model seems to have no effect (as seen below).Also, it looks like the
schema.disableComments
option is automatically set totrue
in the GraphQL playground's settings, but setting it tofalse
still 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.
Beta Was this translation helpful? Give feedback.
All reactions