Skip to content
Snippets Groups Projects
Commit 4e34034b authored by ale's avatar ale
Browse files

First stage of refactor targeting simplicity

Structure flow around requests themselves and composition rather than
handlers and wrappers, the results are likely more readable (and
shorter).

Move all the user auth management business logic to a smart RawUser
object, to separate it from details of API handling. The result should
be more understandable: all critical changes are contained within a
single type.

Also, with all the workflow driven by Requests, we can get rid of the
boilerplate in the HTTP API server and replace it with a tiny tiny
layer of reflection.
parent 6f16cef4
No related branches found
No related tags found
1 merge request!2Simpler interfaces
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment