alibaba / alibaba/HandyJSON

swift 5.0 自定义映射获取不了值

Open
#318 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

分支: dev_for_swift5.0
swift: 5.0

使用自定义字段映射方法 `func mapping(mapper: HelpingMapper)` ,获取的值是 nil

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on the dev_for_swift5.0 branch with Swift 5.0, using the custom `mapping(mapper: HelpingMapper)` method described in the report. Trace why the mapped value is nil and verify that custom field mapping returns the expected value.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.