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

Add adjust method #28

Open
vexy opened this issue May 18, 2022 · 0 comments
Open

Add adjust method #28

vexy opened this issue May 18, 2022 · 0 comments
Assignees
Labels
New feature 💡 New functionality or feature
Milestone

Comments

@vexy
Copy link
Owner

vexy commented May 18, 2022

Add a public method that allows changing field value of an already frozen struct without the need for unfreezing.

New value should be present at next unfreeze attempt.

eg:

try Fridge.adjust(FrozenStruct.Self, field: \.field1, value: 10)
@vexy vexy added the New feature 💡 New functionality or feature label May 18, 2022
@vexy vexy added this to the 0.9 milestone May 18, 2022
@vexy vexy self-assigned this May 18, 2022
@vexy vexy modified the milestones: 0.9.xx, Release 1.0 Jun 11, 2022
@github-project-automation github-project-automation bot moved this to Working On 🛠 in Fridge Project Board Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature 💡 New functionality or feature
Projects
Status: Working On 🛠
Development

No branches or pull requests

1 participant