Skip to content

Conversation

HT154
Copy link
Contributor

@HT154 HT154 commented Sep 17, 2025

Implements decoding changes for SPICE-0021

Pending adding Pkl 0.30 support in tests after release.

@HT154 HT154 force-pushed the class-typealias-repr branch 4 times, most recently from 9396609 to 2dbc0b4 Compare September 18, 2025 17:44
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR moves the semver code into internal and makes things public so that tests in the pkl_test package can access this code. This is needed because unmarshal_test.go must be in pkl_test because it imports pkl-gen-go-generated code which imports the pkl package and that would be a circular import. Testing the new class/typealias encoding requires a version comparison to implement the correct assertions based on Pkl version.

@HT154 HT154 force-pushed the class-typealias-repr branch from 2dbc0b4 to 81d88bb Compare September 18, 2025 19:21
@HT154 HT154 changed the title Updates Class and TypeAlias representation according to SPICE-0021 Update Class and TypeAlias representation according to SPICE-0021 Sep 19, 2025
@HT154 HT154 force-pushed the class-typealias-repr branch from 81d88bb to bdb558b Compare September 19, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant