Code Monkey home page Code Monkey logo

explicitmapper's People

Contributors

cgourlay avatar feelthesource avatar iamandylamb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

feelthesource

explicitmapper's Issues

Add behaviour or scenario tests

There are currently unit tests for the base Mapper classes but they don't cover 'user' scenarios. I added a ComplexMapperTest file but it's not really covering typical scenarios that the package could be used for.

I think we need to think about the scenarios that should be covered and write them as tests.

Add a release pipeline

I'd like to have:

  • An automated publish to nuget.org.
    Not on every PR, but when a release is ready. Not sure what we'd use to trigger it though?

Benchmark the package

Write performance tests to compare this package to AutoMapper (and other mapping frameworks).

Async collection mapping

The Mapper includes two async collection mapping methods. MapAsync and MapParallel.
MapAsync maps each item sequentially, but the whole collection asynchronously.
MapParallel maps each item asynchronously, wrapping all mapping tasks in a WhenAll task to give the same signature as MapAsync but using a different approach.

Whether this is useful or not, I'm not sure. It may just be adding complication for not much benefit.
Need to think about:

  • Naming - should it be MapParallelAsync? Or something else?
  • Documentation - If it's staying, it'll need some really clear documentation.

Dependency injection examples

Need examples of using the package with common DI frameworks. At a minimum we'll need examples for:

  • Castle Windsor
  • Autofac
  • Unity
  • Microsoft DI

Will we also need supporting packages per DI framework. E.G. ExplicitMapper.Autofac?
Hopefully not. It's straight forward generic DI so should be simple enough that no 'magic' is needed.

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.