mattpolzin / mattpolzin/OpenAPIReflection
Fix encoder date formatting of `.formatted` case on Linux machines
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
As of Swift 5.10+, the Foundation library on Linux does not retain date encoding information for the .formatted case. This means reflections of those encoding strategies are not correctly identified as dates.
Ideally I'd find some workaround because there's no indication of this being fixed soon in the Foundation library itself (broken since Swift 5.10 and still broken in Swift 6.1).
Contributor guide
No contributing guide indexed for this repository
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
The issue names no files or tests, so begin by reproducing the .formatted date-encoding reflection behavior on Linux with Swift 5.10 or newer. Trace how OpenAPIReflection identifies date encoding strategies and determine whether the workaround correctly recognizes these cases; done means .formatted strategies are identified as dates on affected Linux versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100