Return type of Bodyguard.Authorize.init/1
NobbZ opened this issue · 2 comments
NobbZ commented
The function mentioned in the subject does return a map, this is not allowed in Plug 1.0 (according to the callbacks specs).
The specs do allow a map only since 1.3.0.
NobbZ commented
I took a quick look and phoenix 1.3.3 depends on {:plug, "~> 1.3.3 or ~> 1.4"}
.
Since you target phoenix 1.3s contexts, you should probably do the same.
schrockwell commented
Fixed in 2.3. Good eye - thank you!