Skip to content

Improve space media fragment#235

Open
JayPanoz wants to merge 4 commits into
developfrom
space-media-fragment
Open

Improve space media fragment#235
JayPanoz wants to merge 4 commits into
developfrom
space-media-fragment

Conversation

@JayPanoz

Copy link
Copy Markdown
Contributor

While fixing LocatorLocations.time() I noticed space was marked TODO as well.

This improves parsing, although it is a breaking change as the Type was updated in the process.

@JayPanoz JayPanoz marked this pull request as ready for review July 2, 2026 12:48
@JayPanoz JayPanoz requested a review from chocolatkey July 2, 2026 12:48
@JayPanoz

JayPanoz commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@chocolatkey Note this is a breaking change in practice, due to the Return Type changing. It was not used in the codebase but it can impact existing consumers of shared models.

@chocolatkey

Copy link
Copy Markdown
Member

@JayPanoz thanks for letting me know. I actually just worked on this type of parsing for the Go toolkit, you can see it here if you want to compare the two implementations: https://github.com/readium/go-toolkit/blob/html-guided-navigation/pkg/guidednavigation/fragments.go#L449

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.

2 participants