TiagoSilvaPereira / vemto2-issues

Repository to track Vemto 2 Issues
5 stars 0 forks source link

Faker defaulting to wrong type #212

Open zharris-pl opened 3 weeks ago

zharris-pl commented 3 weeks ago

All of my faker fields are defaulted to fake()->word(), which causes issues when the field is something that isn't a string - ie: boolean, timestamp, etc. Would be nice if they had the appropriate faker function by default!

image
TiagoSilvaPereira commented 3 weeks ago

Hi @zharris-pl thank you for reporting. Could you please show me how to reproduce it? I checked it here and it seems Vemto is generating the correct fakers:

image

zharris-pl commented 3 weeks ago

@TiagoSilvaPereira this is what I'm seeing, I'm on version 2.1.6: Screen Recording 2024-10-31 at 10 14 52 AM

TiagoSilvaPereira commented 3 weeks ago

@zharris-pl thanks, I'll check what is happening here