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

Improve docs for Dummy derive #138

Closed
xd009642 opened this issue Aug 10, 2023 · 0 comments · Fixed by #142
Closed

Improve docs for Dummy derive #138

xd009642 opened this issue Aug 10, 2023 · 0 comments · Fixed by #142

Comments

@xd009642
Copy link
Contributor

So looking at the code I can see there's a lot more functionality than shown in the docs https://docs.rs/fake/latest/fake/derive.Dummy.html and I'm trying to figure out different ways to do the following:

  • Enums and variants
  • Custom types

So things like:

#[derive(Dummy)] 
enum Foo {
   #[dummy(faker = "0..50")] 
   Bar(i32)
}

I'm willing to help out with the docs via PRs just need some time to puzzle out how to do things

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 a pull request may close this issue.

1 participant