feat: add config to request standard object and dependency middleware implementation #8479
Open
3 tasks done
Labels
type:feature
New feature or improvement of existing feature
New Feature / Enhancement Checklist
Current Limitation
No way to leverage inversion of control/dependency injection properly for each request
Feature / Enhancement Description
Parse Server is build following Hexagonal software architecture, and originally heavily use inversion of control patterns, that allow parse server to be easily extendable and customizable.
Currently there is no way to add some custom controllers with request granularity to the parse config. Following the Parse Server DNA, developers should be able to modify config per request, mutate config object if needed. Then the config is forwarded to each Parse Server hooks, and even in each Parse Server GraphQL resolvers.
Example Use Case
See the linked PR
#8480
In my company we already use this feature from my fork to implement elegantly custom controllers related to request data (user, keys etc...), and for example a "FeatureFlagController".
Alternatives / Workarounds
No workarounds
3rd Party References
The text was updated successfully, but these errors were encountered: