pkl icon indicating copy to clipboard operation
pkl copied to clipboard

URI standard library

Open bioball opened this issue 11 months ago • 2 comments

Pkl's standard library is missing a URI type, but this is a quite common type in service configuration.

For example:

  • Website address
  • Database connection string

Additionally, it's necessary to construct a valid URI sometimes when interacting with read(). Currently, this requires importing package pkl.experimental.uri.

There should be an API within the standard library for working with URIs.

This requires a SPICE to be written to iterate on the design.

bioball avatar Jan 27 '25 22:01 bioball

SPICE is up! https://github.com/apple/pkl-evolution/pull/13

bioball avatar Jan 30 '25 00:01 bioball

I'm going to punt this to the 0.29 release. I think there's too many open questions here, and I doubt that we can get a polished version out in just three weeks.

bioball avatar Feb 03 '25 19:02 bioball