pkl
pkl copied to clipboard
A configuration as code language with rich validation and tooling.
Example given on pkl docs for `-m` is incorrect. ```sh pkl eval -m output/ pigeon.pkl –– Pkl Error –– Cannot find module `../pkl_schemas/pigeon.pkl`. ``` Should be ```sh pkl eval -m...
## Summary **Not for merge** This is a massive PR that upgrades the Gradle build in a big way. I did this sort of for fun, over the weekend, while...
Command that was used to produce the upgrade diff: ``` ./gradlew wrapper --gradle-version=7.6 ```
Consider ```pkl class Bird { name: String lifespan: Int } // Allowed pigeon = new Dynamic { name = "Pigeon" lifespan = 8 notInBird = "not in bird" }.toTyped(Bird) //...
Playground: https://pkl-playground.vercel.app/?share=strike-what-planet (Please let me know if this stuff should be a discussion instead) When instantiating a class e.g. `thing = new Thing {}`, if at the time of evaluation...
Philliam and I were discussing JSON error reporting in Discord. Currently, there is no `pkl import` type command I am aware of that allows us to import JSON/YAML/etc into PKL,...
Moving to java.net.http.HttpClient brings many benefits, including HTTP/2 support and the ability to make asynchronous requests. Major additions and changes: - Introduce a lightweight org.pkl.core.http.HttpClient API. This keeps some flexibility...
It is customary to separate elements with a semicolon.
The only call site already resolved the path against tmpDir.
Hi pkl team I hope this message finds you well. I've made some enhancements to the code in the InvalidMappingException class located at pkl-config-java/src/main/java/org/pkl/config/java/InvalidMappingException.java. The changes aim to improve code...