mattpolzin / mattpolzin/JSONAPI

Warning: Redundant constrant on Transformer

オープン
#90 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Swift
スター
81
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Attribute.swift の 39 行目を開き、TransformedAttribute の extension とその Transformer 制約を確認します。報告された CocoaPods/Xcode セットアップで警告を再現し、その後、framework が引き続きコンパイルされることを確認しながら、冗長な適合に関する警告が表示されないことを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
swift
領域
api
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。