async-graphql / examples

217 stars 54 forks source link

Update star wars example to reflect documentation #50

Closed jakeisnt closed 2 years ago

jakeisnt commented 2 years ago

The episode name is described as optional but it's actually required; this makes it optional and returns the hero of the whole saga if the episode is omitted!

sunli829 commented 2 years ago

Thanks! 😁