Replies: 3 comments 10 replies
-
@fzyzcjy is rust opaque the way to go? |
Beta Was this translation helpful? Give feedback.
-
@fzyzcjy can you have third party types for the opaque fields? eg.
|
Beta Was this translation helpful? Give feedback.
-
hmmm update on this: I successfully migrated to using rust opaque to some degree, but keeps getting
will complains about execute does not exist in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@fzyzcjy hey man, again thanks for the remarkable commitment on this toolkit, I want to ask about stateful rust, what is the best practice when user is able to create multiple instances of my library (eg: database connection)? My current approach is to keep the connection in rust side inside a hashmap of uuid->connection and have the dart side keep the uuid. So every time access to certain connection is needed, I just pull the connection based on the uuid. What do you think of this approach, do you have better alternatives?
Beta Was this translation helpful? Give feedback.
All reactions