mapstruct / mapstruct/mapstruct-eclipse

Quick-Fix: Add element-mapping method in case of error on iterable mapping

未關閉
#33 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

feature
主要語言
Java
星號
12
分支
10
PR 合併指標
30 天內沒有已合併 PR

描述

List<Target> toTargetList(List<Source> sources)

Error message: No implementation can be generated for this method. Found no method nor implicit conversion for mapping source element type into target element type.

Quick-Fix to add method:
Target toTarget(Source source)

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 沒有列出任何檔案或測試。先定位 Eclipse 中針對所回報的 iterable-mapping 錯誤的 quick-fix 入口點,然後追蹤來源元素型別和目標元素型別是如何暴露的。完成的標準是:針對這種情況提供一個 quick-fix,新增所要求的 Target-toTarget(Source) mapping 方法。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。