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

Add Fallback Schema List to Schema Struct #12

Open
zicklag opened this issue Sep 4, 2024 · 0 comments
Open

Add Fallback Schema List to Schema Struct #12

zicklag opened this issue Sep 4, 2024 · 0 comments
Labels
leaf Related to the Leaf Protocol specification

Comments

@zicklag
Copy link
Collaborator

zicklag commented Sep 4, 2024

If you have a schema that has the same BorshFormat an older schema, you should be able to specify the older schema as a fallback schema.

Fallback schemas should work similar to font fallbacks. They represent that, "if you don't know about this schema, you can use one of these fallback schemas which are ordered by preference, if you you do know about one of them.

@zicklag zicklag added the leaf Related to the Leaf Protocol specification label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
leaf Related to the Leaf Protocol specification
Projects
None yet
Development

No branches or pull requests

1 participant