Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value not in docs #1115

Open
liewhite opened this issue Mar 10, 2023 · 1 comment
Open

Default value not in docs #1115

liewhite opened this issue Mar 10, 2023 · 1 comment

Comments

@liewhite
Copy link

liewhite commented Mar 10, 2023

case class Z(
  a:Long = 1
)
@main def main = {
  println(generateDocs(deriveConfig[Z]).toTable.toGithubFlavouredMarkdown)
}

Generate docs:

FieldName Format Description Sources
a any-one-of

a

FieldName Format Description Sources
primitive an integer property
primitive a constant property

Problem

  • Where is the default value 1?
  • Missing data types in docs
@dpennell
Copy link

the default value was in previous versions. I now see the row a constant property in my configs with default values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants