apple / apple/swift-configuration

Add PklProvider

Open
#42 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature status/needs-design
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.