benawad/type-graphql-series

Faker produces wrong Emails.

Opened this issue · 1 comments

Hi,

I just wanted to tell you about this problem, I figured out after a while. Faker produces wrong gmail addresses with underscores in them. It is a known problem. So if anyone follows your videos and has a wrong faker version, the tests will fail from time to time, which is no fun. As a quick fix I just replaced underscores with periods from the generated email addresses. You can test it in the playground with and Email like: Rahsaan_Pollich@gmail.com and the answer will include "isEmail": "email must be an email".

You can close this issue immediately, I just thought it might be helpful for others if they encounter that problem and visit/search this git for a solution.

Cheers

thanks, I'll keep it open so more people see it