-
Notifications
You must be signed in to change notification settings - Fork 4
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 monocole ts for all properties operations #8
base: master
Are you sure you want to change the base?
Conversation
@IMax153 can you please CR? all the tests are passing ofcourse |
Hey @regevbr! Thank you so much for the PR - the lib is definitely well past due for an update, so this is much appreciated! I’m on vacation for the next two weeks, but once I have a chance to sit down in front of my computer I will take a look and approve! |
"fp-ts": "^2.10.5", | ||
"monocle-ts": "^2.3.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In thinking about this PR further, the addition of monocle-ts
as a peer-dependency of expressive-ts
would be considered a breaking change for users of the library. The update to the fp-ts
version is also a soft breaking change, since it's a peer dependency of the lib.
I would like to avoid implementing any breaking changes until the [email protected]
release, at which point we can collaborate on a revamp of the entire expressive-ts
library.
We can leave this PR open until then if that is alright?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
@IMax153 thanks for the CR! Can you please approve the workflow so the CI can run for this PR? |
This PR replaces all the
{...obj}
usages in the code to use the awesome gcanti/monocle-ts library.I couldn't help myself and I also updated some dependencies, fixed deprecated usages of fp-ts and transformed
toFlags
to be more "functional". I also made the CI run on PRs