MapsterMapper / MapsterMapper/Mapster
Tool generates empty mapper
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.2k
- Forks
- 410
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
Tool generates empty mapper:
```csharp
[AdaptTo("[name]Dto"), GenerateMapper]
public class Author : BaseEntity
{
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection Books { get; set; }
public virtual ICollection AuthorBooks { get; set; }
}
public abstract class BaseEntity
{
public BaseEntity()
{
CreatedOn = DateTime.Now;
}
public DateTime CreatedOn { get; set; }
public DateTime? UpdatedOn { get; set; }
}
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing the issue with the shown Author and BaseEntity classes, then trace the mapper generation entry point to find why the output is empty. Done means the tool generates the expected mapper for this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100