Skip to content

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 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