Closed businessglitch closed 3 years ago
I think that's a good idea. We have a few uses of the global app object outside the request context, that would need to be fixed first.
Please go ahead with the proposal but kindly send a separate pull request for each small change instead of one pull request for everything. That helps follow the changes in each commit. Each pull request should have a single squashed commit with all the review feedback addressed in the same commit.
1 PR can be for just replacing the use of global app object with helper methods called from inside the request context 1 PR can be for creating the factory method for app 1 PR can be for using the URL prefix for blueprints 1 PR can just be re-organizing the files i.e. separate blueprint folder etc but without making any changes to the contents of the file 1 PR can be for the json response helper method mentioned above.
JazakAllah khair! all good suggestions.
Perfect, that sounds like a plan and will definitely break it out to smaller PR's.
@businessglitch is there any update on this? If you're no longer available, please let us know and we'll close the issue.