Skip to content

Update to versioned schema#120

Closed
feltech wants to merge 3 commits intoOpenAssetIO:mainfrom
feltech:98-versionedTraits
Closed

Update to versioned schema#120
feltech wants to merge 3 commits intoOpenAssetIO:mainfrom
feltech:98-versionedTraits

Conversation

@feltech
Copy link
Member

@feltech feltech commented Jan 7, 2026

Closes #98.

As of TraitGen v1.0.0-alpha.13+ the YAML schema has been updated to support versioned traits and specifications.

So update traits.yml to use the new schema.

This is a breaking change, in that older versions of the openassetio-traitgen package will no longer work.

Part of OpenAssetIO#98. Closes OpenAssetIO#45.

Using `find_program` is best CMake practice, and helps when testing
different (e.g. development) versions of `openassetio-traitgen`.

Signed-off-by: David Feltell <david.feltell@foundry.com>
Closes OpenAssetIO#98.

As of TraitGen v1.0.0-alpha.13+ the YAML schema has been updated to
support versioned traits and specifications.

So update traits.yml to use the new schema.

This is a breaking change, in that older versions of the
`openassetio-traitgen` package will no longer work.

Signed-off-by: David Feltell <david.feltell@foundry.com>
Part of OpenAssetIO#98.

Until `openassetio-traitgen` v1.0.0-alpha.13 is released, we must
install from the `main` branch of the TraitGen git repo.

Once there has been a successful release of TraitGen, this commit should
be reverted.

Signed-off-by: David Feltell <david.feltell@foundry.com>
@feltech feltech self-assigned this Jan 7, 2026
@feltech feltech requested a review from a team as a code owner January 7, 2026 12:26
@feltech
Copy link
Member Author

feltech commented Jan 7, 2026

Closing to test on my fork before re-submitting.

@feltech feltech closed this Jan 7, 2026
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.

Update schema to be compatible with trait versioning

1 participant