-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Enhancement: Consider supporting mimesis
as a fake data provider
#394
Comments
Should we add support for it or just completely switch out @litestar-org/members, thoughts? |
+1 for switching to |
just checked and that whats i am actually looking! cool!. |
mimesis
as a fake data providermimesis
as a fake data provider
I would be happy to provide assistance with the transition to |
New to the project. Was looking into Polyfactory (as TypedDict/dataclass/Pydantic support) In general I have started using Mimesis over Faker. I have definitely felt the benefits of Mimesis over Faker in terms of performance. Mainly spin up time on generating X amount of test data for unit tests. Was anything ever done with this? Is the project still using Faker under the hood? |
@kaine-bruce-dmt Hey, thanks for the interest! This is something that's planned, however it'd be nice if we could do it in a way that we can allow users to use faker or mimesis. Basically, create an abstraction layer that has a defined interface so that any such data generation library (or a custom implementation) could be used. So, currently this is still using faker under the hood. This may be a breaking change, but I think that's okay and worth doing. It might be possible to do this in a non-breaking way, but I'm not too sure about that. I've been meaning to implement this, but I haven't had the time the past few months to work on it. If you have any ideas or questions, please feel free to ask. We'd be happy to help! |
Summary
faker is great! But, https://github.com/lk-geimfari/mimesis is also very cool. It is faster and has way more types of data and data itself.
It would be very nice to include the support for it, since it can add more structured data to users' structures.
I happen to be a maintainer of both :)
CC @lk-geimfari
Basic Example
No response
Drawbacks and Impact
It can increase the comlexity of the project.
Unresolved questions
No response
Funding
The text was updated successfully, but these errors were encountered: