#dynamically defining services
1 messages · Page 1 of 1 (latest)
I’d recommend an extractor approach to sharing auth logic
Not sure how that’s related to dynamic defined services though
Like you want to change the registered handlers in the router at runtime?
no like i want to define some services
to handle auth logic with some env variables like databae_url, some keys and such
which can be esaily inserted into a project
without having to write out all of the services
What's dynamic about that? You can just insert your configuration data as an AppData