Giter Club home page Giter Club logo

modelmapper.github.io's Introduction

ModelMapper

CI Maven Central License

ModelMapper is an intelligent object mapping library that automatically maps objects to each other. It uses a convention based approach while providing a simple refactoring safe API for handling specific use cases.

Visit modelmapper.org to learn more.

Modules

In v2.0, ModelMapper provides modules for 3rd library integration you can easily register by modelMapper.registerModule(new TheModule()).

Related Projects

Contributing

Bug reports and feature requests are welcome via the issue tracker. Fixes and enhancements are also welcome via pull requests. If you're unsure about a contribution idea, feel free to contact me.

modelmapper.github.io's People

Contributors

ansidev avatar caioguedes avatar chhsiao90 avatar jasper-vandemalle avatar jhalterman avatar

Watchers

 avatar  avatar  avatar

modelmapper.github.io's Issues

Type inheritance example containce errors and is very hard to grasp

We're experiencing some difficulties getting ModelMapper behave as we expect, especially with class inheritance where MM sometimes mix class instances up when converting.

When looking att the sparse documentation for type map inheritance, it would be nice with some more elaborate examples. We'äre also struggling to understand the example given since the code example isn't working as it is right now. The variable instance typeMap is defined twice:
user-manual/type-map-inheritance.md

getting-started guide is outdated?

Hi,

now, in getting started guide in section "Expicit mapping" placed example:

modelMapper.addMappings(mapper -> {
  mapper.map(src -> src.getBillingAddress().getStreet(),
      Destination::setBillingStreet);
  mapper.map(src -> src.getBillingAddress().getCity(),
      Destination::setBillingCity);
});

But in current latest version (1.1.2) org.modelmapper.PropertyMap is not a functional interface. Example from modelmapper repo is actual

Please, fix your documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.