Ash Framework: variable assignment mistake (page 38)

Hi there!

In this case, no it shouldn’t - the bang version of a function (ie. get_artist_by_id! vs. get_artist_by_id) will return the object by itself, not as part of an ok or error tuple.

I’ll check and see if we need a note clarifying this…

2 Likes