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

Describe default value of ActiveValue on document #556

Conversation

Ken-Miura
Copy link
Contributor

Changes

Show what default value of ActiveValue is.

It looks like Default value of ActiveValue is used frequently on document (for example https://docs.rs/sea-orm/latest/sea_orm/entity/trait.ActiveModelTrait.html#example-postgres). But the default value is not clearly described in document. So I added that.

I think it is better to describe default value of the type in document. Standard library also describes that (for example https://doc.rust-lang.org/src/alloc/string.rs.html#2128)

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Ken-Miura, thanks for the contributions and making SeaORM docs better!
Do let us know if you find any other part in the source code that is worth improving :)

@billy1624 billy1624 merged commit 483de17 into SeaQL:master Mar 2, 2022
Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting

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

Successfully merging this pull request may close these issues.

3 participants