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

worktop/storage #2

Closed
lukeed opened this issue Mar 10, 2021 · 2 comments
Closed

worktop/storage #2

lukeed opened this issue Mar 10, 2021 · 2 comments
Assignees
Labels

Comments

@lukeed
Copy link
Owner

lukeed commented Mar 10, 2021

Or worktop/kvs or worktop/database
Depends if/how Durable Objects get worked in or if they should be their own separate module.

NOTE@SELF: Port this over from App2

@lukeed lukeed added the enhancement New feature or request label Mar 10, 2021
@lukeed lukeed self-assigned this Mar 10, 2021
lukeed added a commit that referenced this issue Mar 16, 2021
@lukeed
Copy link
Owner Author

lukeed commented Mar 16, 2021

For now there is worktop/kv which (of course) is KV-specific.

I'm keeping this issue for Durable Objects integration. I've yet to experiment with DOs, so the API for working with them is very much unknown. That said, my current idea is that I'll combine the KV utilities (worktop/kv) with the DO utilities under a single worktop/storage submodule. Then, the current Database KV-class will be renamed to Model and there will be a new Actor class will be added for DO-facing setup. Names are TBD of course, because everything is TBD 🙃

@lukeed lukeed added future and removed enhancement New feature or request labels Mar 22, 2021
@lukeed
Copy link
Owner Author

lukeed commented Sep 15, 2021

A new worktop/durable module was added in #80, which means there's no reason for this ticket to remain open. The new module is available under the worktop@next version and will released in the next stable (non-@next) version.

It's possible a new worktop/storage module would surface in the future, but probably not in the way(s) suggested earlier in this ticket.

@lukeed lukeed closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant