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

Business Logic in another solution project #2

Open
ucollina82 opened this issue Feb 4, 2021 · 4 comments
Open

Business Logic in another solution project #2

ucollina82 opened this issue Feb 4, 2021 · 4 comments

Comments

@ucollina82
Copy link

I search a way for move businessLogic in another project. But i don't found a solution.
Any ideas?

Thanks

@erictuvesson
Copy link

Currently source generators doesn't support multiple projects, they are currently very limited in what they can do unfortunately.

@erictuvesson
Copy link

I created a project that generate the code in another process (called on pre-build by msbuild) by reading all the projects from a solution file.

It's not the optimal solution, but it a working solution for now.

https://github.com/erictuvesson/MediatR.AspNetCore.CodeGenerator

@Lonli-Lokli
Copy link

What's the sense in Mediatr for this, when we have source generators and can generate pure connections with all handlers and queries as usual services, without Mediatr overhead?

@erictuvesson
Copy link

What's the sense in Mediatr for this, when we have source generators and can generate pure connections with all handlers and queries as usual services, without Mediatr overhead?

What do you mean? Is this comment related to this issue?

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

3 participants