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

Question: Why static application classes and why remove dapr #71

Open
NicholasIbarra opened this issue Jun 8, 2023 · 1 comment
Open

Comments

@NicholasIbarra
Copy link

This is a great project.

Was curious what the rationale was for:

  1. static application classes

  2. removing dapr

@NicholasIbarra
Copy link
Author

NicholasIbarra commented Jun 19, 2023

To follow up, I see why the static application classes were used.

Simplifies the Mediatr command \ query request by wrapping the call in a static class so the resource just exposes a "Command" or "Query" pattern and avoids future conflicts.

Example:

new [Resource Name].Command()
new [Resource Name].Query()

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