Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Updated Library for Flow #26

Open
orlandoc01 opened this issue Jan 23, 2019 · 3 comments
Open

Updated Library for Flow #26

orlandoc01 opened this issue Jan 23, 2019 · 3 comments

Comments

@orlandoc01
Copy link
Contributor

The ideas behind this library and the more mature io-ts can be really valuable for anyone working on a Flow project. However, I tried using io-ts for a bit on some internal projects with a custom flow-typed file (since flow-io is deprecated) but it ended up being pretty difficult. Some of the mechanics behind io-ts are heavily dependent on Typescript's semantics, and trying to get it to play well with Flow was too difficult. As a result, I've "forked" the work in io-ts and setup a new repo/NPM package located at io-flow-types. The intention there is that this library can be maintained as one specifically built for Flow in mind.

For now, this new library's API is still pretty similar to io-ts because the core idea is the same, although that might change as I continue to work with it. I just wanted to post this here in case any other maintainer/collaborator/watcher of this repo is still interested in having "Runtime Types" that are built for Flow projects. If so, your feedback and/or collaboration is welcome at io-flow-types.

@orlandoc01
Copy link
Contributor Author

Also just wanted to say thanks to @gcanti for io-ts, it's a really cool concept. Wish you had more time to work on it for Flow too haha :)

@gcanti
Copy link
Owner

gcanti commented Jan 23, 2019

@orlandoc01 we could link your project in the README, feel free to open a PR

@orlandoc01
Copy link
Contributor Author

That would be great, here's the PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants