mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #480] [MERGED] Handle null pathElements gracefully in message passing API
#575
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/480
Author: @bioball
Created: 5/8/2024
Status: ✅ Merged
Merged: 5/8/2024
Merged by: @bioball
Base:
main← Head:handle-null-path-elements📝 Commits (1)
a50f6a0HandlenullpathElements gracefully in message passing API📊 Changes
4 files changed (+86 additions, -4 deletions)
View changed files
📝
docs/modules/bindings-specification/pages/message-passing-api.adoc(+4 -0)📝
pkl-server/src/main/kotlin/org/pkl/server/ClientModuleKeyFactory.kt(+1 -1)📝
pkl-server/src/main/kotlin/org/pkl/server/ClientResourceReader.kt(+3 -3)📝
pkl-server/src/test/kotlin/org/pkl/server/ServerTest.kt(+78 -0)📄 Description
In messages "List Resources Response" and "List Modules Response", if
pathElementsanderrorare both null, default to an empty list.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.