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

[Question] How to leave a field open for future definition? #91

Open
phroi opened this issue Apr 21, 2024 · 0 comments
Open

[Question] How to leave a field open for future definition? #91

phroi opened this issue Apr 21, 2024 · 0 comments

Comments

@phroi
Copy link

phroi commented Apr 21, 2024

Hello Cryptape, iCKB here 👋

As per title, I'm wondering: How to leave in a molecule schema a field open for future definition?

Usually I see a definition based on vector, but implies at least a 4 bytes used as header:

vector Bytes <byte>

I'd like to use something based on arrays, so no header, like the following, but of course it's invalid:

array Bytes [byte; ...]

As usual I'm asking here since GitHub issues are SEO friendly and very likely in the future there will be other L1 developers wondering the same 😉

Keep up the Great Work,
Phroia

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

No branches or pull requests

1 participant