Skip to content

[JSExport] Attribute With Complex Type Parameters #112182

Answered by pavelsavara
VladimirRudt asked this question in Q&A
Discussion options

You must be logged in to vote

The main question is how to pass and return classes/records/structs?

We don't support that and we probably would not do it any time soon.
Marshaling structures by value leads to serialization similar to what JSON does.

If you need more perf, there is similar discussion dotnet/aspnetcore#54946 (comment) with pointers to solutions and tricks others use.

And few related feature requests
#77784
#78905
#78906
#78455

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VladimirRudt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants