Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning generation behaviour. #80

Open
Tracked by #64
elliotcmorris opened this issue Apr 19, 2024 · 0 comments
Open
Tracked by #64

Versioning generation behaviour. #80

elliotcmorris opened this issue Apr 19, 2024 · 0 comments
Labels

Comments

@elliotcmorris
Copy link
Contributor

elliotcmorris commented Apr 19, 2024

Add functionality to generate versioned traits in trait-gen.

All of the trait-view versions for a particular trait should be generated into the same file.

Json schema will need to be updated.

Acceptance Criteria

Follow the structure outlined in OpenAssetIO/OpenAssetIO-MediaCreation#90

Apart from these changes:

The unversioned default trait should be an identical copy of the v1 trait.
The unversioned default trait should have a deprecation warning. In C++ this is via the [[deprecated]] attribute on the class. In python it's on the constructor, and use the pythons warnings module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant