apple / apple/swift-configuration
Add PklProvider
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 812
- Forks
- 60
- Avg merge
- 9h 38m
- Merged PRs (30d)
- 6
Description
Although Pkl can render configurations in JSON and YAML formats, it would be useful to be able to load Pkl configuration files directly. Pkl offers validation and its own resource readers in one place. You can also define your own custom resource readers. The pkl-swift bindings already exist, and this could be added under a Package trait.
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
Start by reviewing the existing pkl-swift bindings and the Package trait, since the issue identifies both as the entry points for this work. Determine how a provider can load Pkl configuration files directly rather than only JSON or YAML. Done means the Package trait supports direct Pkl loading while retaining Pkl validation and resource-reader behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100