mattpolzin / mattpolzin/JSONAPI
Warning: Redundant constrant on Transformer
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 81
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Getting a compile warning on Attribute.swift on line 39 for extension TransformedAttribute "Redundant conformance constraint 'Transformer' : 'Transformer'.
Platform (only for runtime bugs):
MacOS 11.0.1
Xcode 12.2
Context
JSONAPI is included and installed as a CocoaPod but not imported or used in code, just having it available throws the warning.
Do you plan to fix yourself?
I might but It's a bit beyond my understanding at the moment.
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
Open Attribute.swift at line 39 and inspect the TransformedAttribute extension and its Transformer constraint. Reproduce the warning in the reported CocoaPods/Xcode setup, then verify that the redundant-conformance warning is absent while the framework still compiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100