Dozer
AutoMapper
Dozer | AutoMapper | |
---|---|---|
3 | 29 | |
2,059 | 9,766 | |
0.1% | 0.5% | |
6.6 | 7.7 | |
2 months ago | 5 days ago | |
Java | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Dozer
-
We released a new version of ShapeShift (0.6.0) - A lightweight, modular, performant and extensible object mapping library
Oh man I had a sudden burst of nostalgia for dozer. Used that thing a bunch in the early-mid naughts with great success. I guess object mapping is an evergreen problem…
-
We released a new version of ShapeShift (0.4.0) - A lightweight Kotlin first library for Object Mapping. Would love to hear your thoughts!
Object mapping is not a new concept. Java libraries like mapstruct (https://github.com/mapstruct/mapstruct), dozer (https://github.com/DozerMapper/dozer) and modelmapper (https://github.com/modelmapper/modelmapper) have been doing it for a long time with a large crowd of developers behind them. We just brought it to Kotlin and improved it where we found the need.
-
Lessons learned from previous projects
I've used DTO for a very long time. One of my earliest blog posts is actually about DTOs, bean mapping, and the Dozer library to automate the mapping process. I even remember that a fellow architect advised me to design a dedicated class for each layer:
AutoMapper
-
Object Mapping in .NET
AutoMapper
-
Is AutoMapper 13.0 available?
The 13.0 Upgrade Guide page was created back in April, but there is no sign of the release yet.
- New Google Bard Update (can run code)
-
Is there a better way to map data in ASP ?
The most well-know is probably AutoMapper, but it's not universally liked.
- AutoMapper's open source code of conduct
-
Nightclub Website
AutoMapper - well for automapping
-
How to avoid AutoMapper configuration runtime errors
When working with AutoMapper, we often bump into runtime errors due to invalid mapping configuration, such as this one:
-
How to Build a WEB API ASP.NET Core 6
What problems will resolve automapper?
-
LINQ Formatters
If you are a fan of data mappers, you might want to enhance the implementation with additional extension methods. Here is an example for AutoMapper.
-
We released a new version of ShapeShift (0.4.0) - A lightweight Kotlin first library for Object Mapping. Would love to hear your thoughts!
I'm wondering myself. Most mappers like https://automapper.org/ will make a best effort mapper automatically via introspection. If this is just a DSL/annotation suite that requires explicit, complete mapping implementations then this strikes me as a re-implementation of parts of kotlin in kotlin.
What are some alternatives?
MapStruct - An annotation processor for generating type-safe bean mappers
Mapster - A fast, fun and stimulating object to object Mapper
ModelMapper - Intelligent object mapping
mapperly - A .NET source generator for generating object mappings. No runtime reflection.
Orika - Simpler, better and faster Java bean mapping framework
GraphQL for .NET - GraphQL for .NET
JMapper Framework - Elegance, high performance and robustness all in one java bean mapper
Mapping Generator - :arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
Selma - Selma Java bean mapping that compiles
Hot Chocolate - Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
Beanmapper - Library for converting from one Java class to a dissimilar Java class with similar names based on the Bean convention
ExpressMapper - Mapping .Net types