Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/staticfilemanager refactor #53

Merged
merged 7 commits into from May 10, 2020

Conversation

thecatalinstan
Copy link
Owner

No description provided.

- Get rid of all properties as they were actually non needed.
- The route block is setup on init.
- Error creation is centralized.
The goal is to avoid a large number of blocks being created as a result of each request. The initial "hasty" implementation created and called route blocks for every request, which was a bit overkill and wasteful.

The new implementation has only one route block being create on `init` and calls instance methods for various tasks. This results in a simplified, more readable and a more efficient logic.
@thecatalinstan thecatalinstan merged commit 66a72f9 into master May 10, 2020
@thecatalinstan thecatalinstan deleted the feature/staticfilemanager-refactor branch May 10, 2020 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant