Skip to content

Commit

Permalink
wip: fixed spellcheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyamahunt authored Dec 18, 2023
1 parent 7c1deb2 commit c1a4284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/config/spellcheck-wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ HelperCoder
HelperCoders
JSON
LossySequenceCoder
Codable
MetaCodable
Midbin
README
Expand Down Expand Up @@ -48,3 +49,4 @@ variadic
vscode
watchOS
www
typealias
4 changes: 2 additions & 2 deletions Sources/MetaCodable/MetaCodable.docc/Limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand All @@ -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.

0 comments on commit c1a4284

Please sign in to comment.