This is a bugfix, where the rewrites option is currently ignored.
Also: return any illegal argument errors from creating the evaluator as an error in the CreateEvaluatorResponse
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/1141
**Author:** [@bioball](https://github.com/bioball)
**Created:** 7/23/2025
**Status:** ✅ Merged
**Merged:** 7/24/2025
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `server-mode-http-rewrites-fix`
---
### 📝 Commits (1)
- [`e062810`](https://github.com/apple/pkl/commit/e062810a5062e5ae256f1a8020b3be715efd33dc) Fix: use http.rewrites to configure the evaluator in message passing API
### 📊 Changes
**6 files changed** (+117 additions, -48 deletions)
<details>
<summary>View changed files</summary>
📝 `pkl-server/src/main/kotlin/org/pkl/server/Server.kt` (+47 -42)
📝 `pkl-server/src/main/kotlin/org/pkl/server/ServerMessagePackDecoder.kt` (+2 -2)
📝 `pkl-server/src/main/kotlin/org/pkl/server/ServerMessagePackEncoder.kt` (+2 -2)
📝 `pkl-server/src/main/kotlin/org/pkl/server/ServerMessages.kt` (+1 -1)
📝 `pkl-server/src/test/kotlin/org/pkl/server/AbstractServerTest.kt` (+64 -0)
📝 `pkl-server/src/test/kotlin/org/pkl/server/ServerMessagePackCodecTest.kt` (+1 -1)
</details>
### 📄 Description
This is a bugfix, where the `rewrites` option is currently ignored.
Also: return any illegal argument errors from creating the evaluator as an error in the CreateEvaluatorResponse
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1141
Author: @bioball
Created: 7/23/2025
Status: ✅ Merged
Merged: 7/24/2025
Merged by: @bioball
Base:
main← Head:server-mode-http-rewrites-fix📝 Commits (1)
e062810Fix: use http.rewrites to configure the evaluator in message passing API📊 Changes
6 files changed (+117 additions, -48 deletions)
View changed files
📝
pkl-server/src/main/kotlin/org/pkl/server/Server.kt(+47 -42)📝
pkl-server/src/main/kotlin/org/pkl/server/ServerMessagePackDecoder.kt(+2 -2)📝
pkl-server/src/main/kotlin/org/pkl/server/ServerMessagePackEncoder.kt(+2 -2)📝
pkl-server/src/main/kotlin/org/pkl/server/ServerMessages.kt(+1 -1)📝
pkl-server/src/test/kotlin/org/pkl/server/AbstractServerTest.kt(+64 -0)📝
pkl-server/src/test/kotlin/org/pkl/server/ServerMessagePackCodecTest.kt(+1 -1)📄 Description
This is a bugfix, where the
rewritesoption is currently ignored.Also: return any illegal argument errors from creating the evaluator as an error in the CreateEvaluatorResponse
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.