anvilco / spectaql

Autogenerate static GraphQL API documentation
https://useanvil.com/docs/api/graphql/reference/
MIT License
1.11k stars 116 forks source link

Feature Request: Display default values for fields on types #952

Open kathychurch opened 4 months ago

kathychurch commented 4 months ago

When viewing a type, there should be an option to display the default value for each field in that type. Currently it only shows the Field Name, Type, and Description. The default value only seems to show up in the generated "example" and isn't specifically called out as being the default value.