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

move hashtables to end of toml-serializable structs #837

Merged
merged 1 commit into from
Oct 20, 2022

Conversation

dicej
Copy link
Contributor

@dicej dicej commented Oct 19, 2022

This is needed to avoid "value must be emitted before tables" errors when serializing to TOML.

I don't believe Spin itself ever serializes these structs to TOML, but other libraries may want to reuse spin-loader and do so.

Signed-off-by: Joel Dice joel.dice@fermyon.com

This is needed to avoid "value must be emitted before tables" errors when
serializing to TOML.

I don't believe Spin itself ever serializes these structs to TOML, but other
libraries may want to reuse `spin-loader` and do so.

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
@dicej dicej merged commit 74d936c into fermyon:main Oct 20, 2022
@dicej dicej deleted the toml-serialization branch October 20, 2022 16:53
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.

3 participants