MapsterMapper / MapsterMapper/Mapster.DependencyInjection

Update Mapster dependency to v7.4.0-pre05

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Please update the project to Mapster v7.4.0-pre05 as it comes with new method API changes in Mapster.cs. Using the only available version of Mapster.DependecyInjection v1.0.0 can cause weird behavior of MethodNotFound depending of what DLL is being loaded in different parts of code consuming it.

```
{"Method not found: 'Mapster.TypeAdapterBuilder`1 MapsterMapper.Mapper.From(System.__Canon)'."}
at MapsterMapper.ServiceMapper.From[TSource](TSource source)
...

```

Contributor guide

No contributing guide indexed for this repository

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 locating the project's Mapster dependency declaration and compare it with the requested v7.4.0-pre05 release. Review the method API changes in Mapster.cs and check the reported ServiceMapper.From error when Mapster.DependencyInjection v1.0.0 is used. Done means the project targets the requested version and the MethodNotFound behavior is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.