kirypto / TimelineTracker

GNU General Public License v3.0
2 stars 1 forks source link

Move components to correct hexagonal layers #99

Closed kirypto closed 2 years ago

kirypto commented 2 years ago
kirypto commented 2 years ago

To add to this, if the Rest<Entity>RequestHandler classes could return a Set[Tuple[<route>, <http method>, <handler function>]]. This way the flask controllers could be simplified to iterating across the set and setup corresponding handlers. A little extra may be necessary to tie in whether or not the json should be extracted and passed through.