-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I might well be missing something, so would love to be told what!
I'm trying to use optics-ts in combination with Jotai to read/modify some deeply-nested data structures. In these data structures, I commonly have instances of classes, whose fields I'd like to be able to modify. optics-ts lets me do this, but the class instances are silently converted to plain objects (without the proper prototype), meaning the inferred type of the resulting object is wrong.
Is there a way I can do better here? Thanks!
Metadata
Metadata
Assignees
Labels
No labels