You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Factory class advertises an option to generate empty entity instead of a "sample", however the option has no effect
Bug Report 🐛
As it's being used by the CLI generate command here, and being passed onto the factory class here, there should be an option to generate empty objects as advertised here.
But that option is simply being ignored.
Expected Behavior
That the factory returns an entity with empty values
@ekarademir do the String properties in your model have min/max length validators?
We made the decision when adding those that the output of the value generators should always be a valid instance. This forces us to generate some sample data even when using the empty mode.
I think that there's scope to improve the logic here, for example:
Generate only using spaces, when in empty mode
Always use the min length when specified in empty mode
Factory class advertises an option to generate empty entity instead of a "sample", however the option has no effect
Bug Report 🐛
As it's being used by the CLI generate command here, and being passed onto the factory class here, there should be an option to generate empty objects as advertised here.
But that option is simply being ignored.
Expected Behavior
That the factory returns an entity with empty values
Current Behavior
Returns sampled data as values
Possible Solution
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: