MapsterMapper / MapsterMapper/Mapster

Source Generators with IMapper Interface

Open
#622 12 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C#
Stars
5.2k
Forks
410
Avg merge
2d 12h
Merged PRs (30d)
6

Description

Hello, I am using mapster with fec and I am very happy :)
But i am curious about something.. Is there any way for using source generators which is Mapster.Tool and IMapper interface?

So I want to still inject IMapper interface to my classes but I want use source generated mappings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Mapster.Tool source-generation entry point and the IMapper interface integration. Determine whether generated mappings can be exposed through IMapper without runtime mapping, and consider the existing project tests or documentation as the completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.