-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fluent option? #97
Comments
+1 Something like this — that is, being able to mark a property as projectable from the 'outside' — is actually very much needed in onion/clean architecture type projects. I'm not sure if a fluent builder could work since this is a source generator; if not, then an |
This library needs access to the syntax when it generates a companion expression. Anything that lives on the outside does not come with Syntax. |
Yeah you're actually right, fair enough.
There would still be a conceptual dependency on EF though, so kind of a leaky abstraction. |
+1 on this one. Having it availabe as extension on EntityTypeBuilder makes the behaviour configurable. It's an implementation concern that should not be exposed in a domain layer, when using this in a clean architecture. |
Is it possible to have a fluent option instead of using attributes? It would be nice if I could set this in the entity configuration on the
EntityTypeBuilder
builder.Projectable(...)
The text was updated successfully, but these errors were encountered: