Skip to content

Add adjust method #28

@vexy

Description

@vexy

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)

Metadata

Metadata

Assignees

Labels

Projects

Status

Wishlist 💡

Relationships

None yet

Development

No branches or pull requests

Issue actions