mapper-customization

Community

Fine-tune Mapster mappers for DTO projections.

Authorfiliptrivan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Customize Spiderly-generated Mapster mappers by overriding the default mappings to add computed fields, customize projections, or switch between DTO and entity shapes.

Core Features & Use Cases

  • Override generated mappings by defining a user-created partial Mapper class annotated with [SpiderlyDataMapper], which prevents overwriting custom logic during regeneration.
  • Add inline mappings or adjust projections using [ProjectToDTO] attributes and the generated TypeAdapterConfig methods.
  • Maintain a clean separation between generated baseline mappings and user customizations to enable upgrade-safe workflows.

Quick Start

Create a partial Mapper class annotated with [SpiderlyDataMapper] and override any generated mapping method to customize DTO mappings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mapper-customization
Download link: https://github.com/filiptrivan/spiderly/archive/main.zip#mapper-customization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.