Skip to content

how do I add a field to my exo / durable object? #8097

Answered by dckc
dckc asked this question in Q&A
Discussion options

You must be logged in to vote

@erights replied:

For the current problem, I suggest creating a separate durable WeakMapStore whose keys are the durable exo instances in question. Classic OO soft field technique using a weak side table.

That seems to work:

2023-07-25 19:36 61da1bd chore: use side table for new purse storage

Here's hoping for time to elaborate a bit.

Replies: 1 comment

Comment options

dckc
Jul 26, 2023
Collaborator Author

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