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

Establish a "hierarchy" in the datastore with multiple keys #62

Closed
gudnuf opened this issue Jan 17, 2024 · 1 comment
Closed

Establish a "hierarchy" in the datastore with multiple keys #62

gudnuf opened this issue Jan 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gudnuf
Copy link
Owner

gudnuf commented Jan 17, 2024

Currently, when creating prisms we create them with one key which makes it so that we have to list all items in the datastore to find one single prism.

From the docs:

"key is an array of values (though a single value is treated as a
one-element array), to form a hierarchy. Using the first element of
the key as the plugin name (e.g. [ "summary" ]) is recommended."

This makes we think the prism's do not need to be name paced with "prism" instead something like datastore([prism, prismId]) could be used to create

@gudnuf gudnuf added the enhancement New feature or request label Jan 17, 2024
@gudnuf gudnuf closed this as completed Jan 22, 2024
@gudnuf
Copy link
Owner Author

gudnuf commented Jan 22, 2024

resolved with commit 14c6be6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant