Andreas-Dorfer / base-types

Fight primitive obsession and create expressive domain models with source generators.
MIT License
18 stars 2 forks source link

Support for convention-based value conversion in EF Core #24

Closed adampaquette closed 1 year ago

adampaquette commented 1 year ago

Simplified the configuration of EF Core with a conversion convention.

Andreas-Dorfer commented 1 year ago

Thank you @adampaquette. Very cool!

There's only one minor thing. I'd like to keep all public classes / methods strictly BaseType-related. The "TypeExtensions" method "Implements" is more like a general-purpose method. Can we change that to a BaseType-specifc "ImplementsIBaseType"?