Add support populate Java Object with custom schema without FakeForSc…#787
Conversation
PR Summary
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #787 +/- ##
=========================================
Coverage 92.86% 92.86%
Complexity 2642 2642
=========================================
Files 284 284
Lines 5212 5214 +2
Branches 537 536 -1
=========================================
+ Hits 4840 4842 +2
+ Misses 244 243 -1
- Partials 128 129 +1
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
lgtm |
PR adds support to populate Java objects with a custom schema without using the FakeForSchema annotation. The existing implementation of
net.datafaker.providers.base.BaseFaker#populate(java.lang.Class<T>, net.datafaker.transformations.Schema<java.lang.Object,?>)requires the use FakeForSchema annotation to generate fake data for the object.