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

Tests break in v0.12 when using DateOnly or TimeOnly #47

Closed
pdevito3 opened this issue Nov 28, 2021 · 2 comments
Closed

Tests break in v0.12 when using DateOnly or TimeOnly #47

pdevito3 opened this issue Nov 28, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@pdevito3
Copy link
Owner

This isn't a bug in craftsman, but in a library used in wrapt projects.

Autobogus can not generate fakes on entities using DateOnly or TimeOnly. This is because Bogus did not support it. They have since released 34.x which provides this support, but autobogus needs to bring it in to their package. You can track the progress of it here.

@pdevito3 pdevito3 added the bug Something isn't working label Nov 28, 2021
@sshquack
Copy link
Contributor

@pdevito3 Thanks for capturing this issue. I ran into this when trying out the .NET 6 features. Perhaps it is in maintenance mode or open to PR contributions. For now, in my scaffolded code, I am planning on replacing Autobogus with Bogus and writing the seeds manually. Long term it would be awesome to have this supported by Autobogus 🤞

@pdevito3
Copy link
Owner Author

pdevito3 commented May 6, 2022

I have a PR into Autobogus that will hopefully be merged in to resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants