-
-
Notifications
You must be signed in to change notification settings - Fork 583
make DefaultContext private #2247
Copy link
Copy link
Open
Labels
breaking changeThis feature / fix introduces breaking changesThis feature / fix introduces breaking changesenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
breaking changeThis feature / fix introduces breaking changesThis feature / fix introduces breaking changesenhancementNew feature or requestNew feature or request
DefaultContextimplementsbuffalo.Contextand this is the core context for buffalo's application flow, and it should be configured correctly to work properly with its functions. However,DefaultContextis currently public, so it can be used without careful configuration by initializing it directly. It could be better to make it private and just provide a generator function. (currently,App.newContext()is the generator)TODO
App.newContext()or other internal code.Context