epicweb-dev / data-modeling

Model and query your data with confidence
https://www.epicweb.dev
Other
151 stars 61 forks source link

The solution in the code is different from the one in the video #45

Closed HelpMe-Pls closed 7 months ago

HelpMe-Pls commented 7 months ago

In the video it's findUnique but in the code it's findFirst. I believe they both give the same output in this case (and please correct me if I'm wrong), but it took me a while to see what's going on there. The mismatch made me search for the differences between findUnique and findFirst (which is also a good thing, I suppose :)), so, just want to let you know 👀

HelpMe-Pls commented 7 months ago

Well, looks like this keeps going for the rest of the workshop...

kentcdodds commented 7 months ago

Thanks for the PR. If you'd like to update the PR to fix all following exercises you're welcome to do that, or I can do that myself. Let me know which you would prefer :)

HelpMe-Pls commented 7 months ago

I did it in PR #47 using VSCode's "Search and Replace" tool. Your review is very much appreciated :D