Coder Social home page Coder Social logo

Comments (9)

ittyabrehman avatar ittyabrehman commented on August 26, 2024 1

@iammukeshm Sure, i will add and raise the PR soon

from dotnet-webapi-starter-kit.

cetindogu avatar cetindogu commented on August 26, 2024

This library is popular, nowadays

from dotnet-webapi-starter-kit.

iammukeshm avatar iammukeshm commented on August 26, 2024

Could you implement the same and raise a PR?

from dotnet-webapi-starter-kit.

dsoltesz avatar dsoltesz commented on August 26, 2024

from dotnet-webapi-starter-kit.

ittyabrehman avatar ittyabrehman commented on August 26, 2024

@dsoltesz First of all thank you for asking the question. The real advantage of using Mapster is its performance and efficient memory usage. It is almost 2.5 times faster than AutoMapper. And twice as fast as the other known mapper's frameworks. In addition to this Mapster automatically generate the dtos which save a lot of time when working on a big codebase

You can see the results of a test run below

image

Source: screenshot taken from Mapster official repository:

from dotnet-webapi-starter-kit.

iammukeshm avatar iammukeshm commented on August 26, 2024

Let's skip the part where mapster creates it's own DTOs..Let's have our DTOs...we will just use Mapster for mapping the object, and replace Automappr implementation..Is that ok? @ittyabrehman

from dotnet-webapi-starter-kit.

ittyabrehman avatar ittyabrehman commented on August 26, 2024

instead of replacing automapper i think we should declare a property in appSettings which will represent either to use automapper or mapster for mapping objects. what you say @iammukeshm

from dotnet-webapi-starter-kit.

iammukeshm avatar iammukeshm commented on August 26, 2024

Yes, we can do as the second step though...i will create an abstraction over the mapping later.

from dotnet-webapi-starter-kit.

ittyabrehman avatar ittyabrehman commented on August 26, 2024

#66 Added and merged Successfully

from dotnet-webapi-starter-kit.

Related Issues (20)

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.