From c1a4284d42bf1dcb98af3bfcf73d719267e4bce8 Mon Sep 17 00:00:00 2001 From: Soumya Ranjan Mahunt Date: Mon, 18 Dec 2023 16:21:39 +0000 Subject: [PATCH] wip: fixed spellcheck errors --- .github/config/spellcheck-wordlist.txt | 2 ++ Sources/MetaCodable/MetaCodable.docc/Limitations.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/config/spellcheck-wordlist.txt b/.github/config/spellcheck-wordlist.txt index e50a4f5a..6b83a62a 100644 --- a/.github/config/spellcheck-wordlist.txt +++ b/.github/config/spellcheck-wordlist.txt @@ -8,6 +8,7 @@ HelperCoder HelperCoders JSON LossySequenceCoder +Codable MetaCodable Midbin README @@ -48,3 +49,4 @@ variadic vscode watchOS www +typealias diff --git a/Sources/MetaCodable/MetaCodable.docc/Limitations.md b/Sources/MetaCodable/MetaCodable.docc/Limitations.md index 623e1527..b6383b6c 100644 --- a/Sources/MetaCodable/MetaCodable.docc/Limitations.md +++ b/Sources/MetaCodable/MetaCodable.docc/Limitations.md @@ -4,7 +4,7 @@ All the usage limitations for ``MetaCodable``. ## Overview -Currently all the limitations of this library and possible work arounds and future plans are listed below. Most of these limitations depend on the data `Swift` provides to ``MetaCodable`` to perform macro expansion. +Currently all the limitations of this library and possible workarounds and future plans are listed below. Most of these limitations depend on the data `Swift` provides to ``MetaCodable`` to perform macro expansion. ### Why strict typing is necessary? @@ -30,4 +30,4 @@ struct Model { The ability to pass conformance data to macro for classes when performing member attribute expansion was introduced in [`Swift 5.9.2`](https://github.com/apple/swift-evolution/blob/main/proposals/0407-member-macro-conformances.md). Please make sure to upgrade to this version to have this working. -Even with this it is unable for ``Codable()`` to get clear indication where conformance to `Codable` is implemented by current class or the super class. ``Codable()`` checks current class for the conformance implementation by checking implementation functions and the check will not work if some typealias used for `Decoder`/`Encoder` in implementation function definition. +Even with this it is unable for ``Codable()`` to get clear indication where conformance to `Codable` is implemented by current class or the super class. ``Codable()`` checks current class for the conformance implementation by checking implementation functions and the check will not work if some `typealias` used for `Decoder`/`Encoder` in implementation function definition.