aw-server icon indicating copy to clipboard operation
aw-server copied to clipboard

Refactored API code into subpackage

Open ErikBjare opened this issue 6 years ago • 4 comments

The idea is to split the big resources.py file into smaller files, like the code examples for flask-restplus.

ErikBjare avatar Apr 02 '19 08:04 ErikBjare

Why are you working on refactoring aw-server-python when aw-server-rust has feature parity and will be replacing it?

johan-bjareholt avatar May 06 '19 12:05 johan-bjareholt

Because it is still the reference implementation, and faster to prototype stuff in.

ErikBjare avatar May 06 '19 13:05 ErikBjare

But it's just refactorization, it doesn't add any functionality? Why spend time on refactoring something that we don't intend to keep for a longer period of time?

johan-bjareholt avatar May 06 '19 13:05 johan-bjareholt

Because I wanted it to follow the coding conventions of the flask-restplus example projects, which will make it easier for me to follow the examples here (JWT) and here (OAuth2) as well as make me properly learn how to structure flask-restplus projects in general.

ErikBjare avatar May 06 '19 14:05 ErikBjare