@dillon_mulroy You should try Effect.fn instead (or the Untraced version)
Generator receives useful params, second arg is slurped and spread as pipe
ie
(...args) => Effect.gen(function*() { ...body }).pipe(...piped)
is the same as
Effect.fnUntraced(function*(...args) { ...body }, ...piped)
the whole point of a JWT is that you don't have to hit the database. if you are going to validate it against the database anyway, congrats, you have just reinvented bearer tokens, except now it's 1000x more complicated
@bcardarella@elixirlang I had a few models iterate on building something like a homebrew Discord, and tbh I have no idea what good elixir is even supposed to look like https://t.co/l5K86RSNTN