mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1094] [MERGED] Add ResourceReaders#fromServiceProviders to preconfigured evaluator #883
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1094
Author: @bioball
Created: 6/6/2025
Status: ✅ Merged
Merged: 6/7/2025
Merged by: @bioball
Base:
main← Head:preconfigured-evaluator-resource-reader-spi📝 Commits (1)
ce7de95Add ResourceReaders#fromServiceProviders to preconfigured evaluator📊 Changes
2 files changed (+11 additions, -2 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/EvaluatorBuilder.java(+3 -1)📝
pkl-core/src/test/kotlin/org/pkl/core/EvaluatorBuilderTest.kt(+8 -1)📄 Description
The preconfigured evaluator currently adds module key factories from service providers, but not resource readers.
This means that users of pkl-spring, for example, cannot add custom resource readers.
This is also inconsistent (in the preconfigured evaluator,
importcan use custom schemes, but notread).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.