edgedb / easy-edgedb

An illustrated textbook designed to be a one-stop shop for learning EdgeDB
https://www.edgedb.com/easy-edgedb
69 stars 36 forks source link

Update can_enter function #126

Closed jrycw closed 6 months ago

jrycw commented 6 months ago

This PR is prompted by the discovery that the provided code in chapters 15 and 16 is unable to migrate successfully. This issue stems from the absence of an assert_single for Vampire in the can_enter function.

Interestingly, this problem is resolved in chapter 17. The modification in chapter 17 includes an update to the can_enter function, where an assert_single for Vampire has been added.

Dhghomon commented 6 months ago

Yeah, basically a multi-chapter typo. Thanks for noticing!