Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Retrieve all existing object identifiers. #45

Closed
igr opened this issue Sep 27, 2022 · 4 comments
Closed

Retrieve all existing object identifiers. #45

igr opened this issue Sep 27, 2022 · 4 comments
Labels
New feature 💡 New functionality or feature Optimization ⚙️ Improvement or optimization proposal

Comments

@igr
Copy link

igr commented Sep 27, 2022

This might be useful during

  • development - want to clean up my mess :)
  • when migrating data - get existing structures and convert them to new ones.
  • data structure validation - when data is important
@vexy
Copy link
Owner

vexy commented Sep 27, 2022

Something similar is already cooking:

#24

Although, I understand the needs, it would throw even more responsibility into a layer that's technically just a thin generically coded wrapper.

Fridge is meant to be just stupid fetch and store mechanism.

The rest is "upper layer" logic.

With Identifiable in place, methods for IO will get another overloaded function to handle the struct.

But, nice suggestions to think about.

@vexy
Copy link
Owner

vexy commented Sep 27, 2022

Here's another issue created out of this, so that we can expand it if needed: #46

@igr
Copy link
Author

igr commented Sep 27, 2022

Yeah, agree! I totally understand, less complexity is better, so far I like it

@vexy
Copy link
Owner

vexy commented Sep 27, 2022

But this part ☝️

development - want to clean up my mess..

Hmm 🤔 I understand this need quite well. Yup it can get messy over time.

Right now there is drop(..) method. Pass the id and the object (file) is physically erased.

Perhaps expanding it to dropAll ? 🤔

@vexy vexy added Optimization ⚙️ Improvement or optimization proposal New feature 💡 New functionality or feature labels Sep 27, 2022
Repository owner locked and limited conversation to collaborators Oct 10, 2022
@vexy vexy converted this issue into discussion #52 Oct 10, 2022
@github-project-automation github-project-automation bot moved this to Wishlist 💡 in Fridge Project Board Aug 26, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
New feature 💡 New functionality or feature Optimization ⚙️ Improvement or optimization proposal
Projects
Status: Done, awaiting RELEASE
Development

No branches or pull requests

2 participants