Refactor BasicAuthMiddleware
Function BasicAuthMiddleware has a Cognitive Complexity of 19 (exceeds 12 allowed).
Refer : https://codeclimate.com/github/gofr-dev/gofr/issues?category=complexity&engine_name%5B%5D=structure&engine_name%5B%5D=duplication
@aryanmehrotra Please assign this issue to me
Hi @aryanmehrotra I would like to work on this issue. Could you please assign it to me?
@kuldeep-bishnoi - This is already assigned to @iamshubha, so can't assign this to you as of now.. if Shubha doesn't pick this up then maybe you can work on this.
@iamshubha Are you working on this, Please raise a PR or we would have to unassign this issue.
@iamshubha unassigning the issue to you because of unactiveness and no reply.
@kuldeep-bishnoi would you like to work on it ?
@Umang01-hash I've refactored the BasicAuthMiddleware function to reduce its cognitive complexity. When you have a moment, could you please review the changes? I’d appreciate any feedback on the refactor or suggestions for further improvement.
Sure @nidhey27 we will review it and let you know about any changes if needed.
@Umang01-hash do you guys have slack channel or anything for communication with maintainer?
@Umang01-hash do you guys have slack channel or anything for communication with maintainer?
Hey @nidhey27 , you can join our Discord channel and create a discussion..... Also since I see inactivity on your side, can I pick this issue up ?
Cool 👍