Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Feat/support referencing translations that sit in a release#211

Open
SamHemingway wants to merge 2 commits intomainfrom
feat/support-releases
Open

Feat/support referencing translations that sit in a release#211
SamHemingway wants to merge 2 commits intomainfrom
feat/support-releases

Conversation

@SamHemingway
Copy link
Contributor

Description

As it stands, if we have a translation metadata document that refers to a translated document that sits in a release, we get a validation error.

The validation logic currently checks the published or draft perspectives.

This PR lets the validation use the raw perspective, so it can validate against versioned documents too.

What to review

Is this going to break anything unexpected? It should purely be additive.

Also, the experience on the translations metadata document is confusing when looking at the published perspective:

image

But makes sense when you're looking at the perspective in which the translation exists:

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant