You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be useful when you need to manage data that has special methods defined in its prototype and you would like to preserve that while using mergerino.
The text was updated successfully, but these errors were encountered:
I believe this is the source of my problem when using mergerino in conjunction with meiosis-setup and union-type. If I place a union-type in meiosis state and update it later (via a mergerino merge), the union-type methods like case/caseOn are lost. :(
That's a solid use case. Do you mind confirming if the version of mergerino on that branch solves the problem (#7)
The only thing preventing me from merging it is probably unfounded concerns about performance loss, and questions about use cases.
I find it nice to keep a serializable state, but complex objects like union-type don't really fit that bill. I feel like I'd usually try to keep those separate from state in some way, but I guess enforcing that is not really mergerino's job so expanding to cover this kind of use case should be fine.
As discussed here: https://gitter.im/foxdonut/meiosis?at=5d9647e65173c33ca161959d
Would be useful when you need to manage data that has special methods defined in its prototype and you would like to preserve that while using mergerino.
The text was updated successfully, but these errors were encountered: