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

Implement creation and loading of collections #206

Open
kwerber opened this issue Jan 26, 2025 · 0 comments
Open

Implement creation and loading of collections #206

kwerber opened this issue Jan 26, 2025 · 0 comments
Labels
backend Backend related task enhancement New feature or request good first issue Good for newcomers

Comments

@kwerber
Copy link
Collaborator

kwerber commented Jan 26, 2025

Is your feature request related to a problem? Please describe.

Currently, Trufos is only able to load the default collection. Since we want users to be able to create and load other collections, we need to implement the necessary functionality in our backend persistence service.

Describe the solution you'd like

The persistence service should provide the necessary methods to...

  • load a collection at some given file path
  • create a new collection at a given file path

Additional context

The way we currently designed things, Trufos can only ever have one collection open at a time. This means when loading a collection any in-memory state or data for the old collection needs to be replaced. When working on this issue, make sure to also write unit tests for this new functionality.

@kwerber kwerber added backend Backend related task enhancement New feature or request good first issue Good for newcomers labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related task enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant