Skip to content

feat!: support decoding js arguments into structs#6

Merged
ttytm merged 2 commits into
mainfrom
feat/decode-struct-args
Oct 22, 2024
Merged

feat!: support decoding js arguments into structs#6
ttytm merged 2 commits into
mainfrom
feat/decode-struct-args

Conversation

@ttytm
Copy link
Copy Markdown
Contributor

@ttytm ttytm commented Oct 13, 2024

The changes in webui.odin add support to decode arguments that are passed stringified to a bound Odin function into their given structs.

It is a breaking change because get_arg now returns a multi result with an error instead of just the generic type.

@ttytm ttytm requested a review from neroist October 13, 2024 09:04
@ttytm ttytm force-pushed the feat/decode-struct-args branch 2 times, most recently from 19e3264 to d28dc78 Compare October 15, 2024 10:14
@ttytm ttytm force-pushed the feat/decode-struct-args branch from d28dc78 to aa5f53f Compare October 15, 2024 10:19
@ttytm ttytm merged commit 2cb9ef0 into main Oct 22, 2024
@ttytm ttytm deleted the feat/decode-struct-args branch October 22, 2024 01:09
AlbertShown pushed a commit that referenced this pull request Jan 13, 2025
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.

1 participant