chase-moskal/renraku

remove the extra policy.processAuth and make 'policy' the function

chase-moskal opened this issue · 2 comments

it turns out there's no need for policy to be an object containing the processAuth function

instead, policy itself should simply be the function

this is a breaking change, but it would be nice to cut down on verbosity and confusion in this area

as a temporary measure, in my app, i wrote an apiContext2 to replace renraku's apiContext which makes the above adjustment.. seems nice