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

Too many generic around the configuration #18

Open
kamaz opened this issue Jan 30, 2021 · 0 comments
Open

Too many generic around the configuration #18

kamaz opened this issue Jan 30, 2021 · 0 comments

Comments

@kamaz
Copy link
Contributor

kamaz commented Jan 30, 2021

At the moment we have a lot of generics around environment and maybe that is ok but it would be review how that would work in context of App. Application would become a type that would define a generic which then can be used to pull other parts like config, payload etc..

// maybe we need to have App Config defined in the same way as we have Handler
// type Input = {D: dependencies, C: config, R: result, L: logger, P: Payload}
// App<Input, Output>
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

No branches or pull requests

1 participant