Skip to content
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

fix: switches from flexbuffer to flexbuffer2 #826

Closed
wants to merge 2 commits into from
Closed

fix: switches from flexbuffer to flexbuffer2 #826

wants to merge 2 commits into from

Conversation

kerihenare
Copy link

@kuba-kubula is correct in #821 that we shouldn't use the package without a license. However, linking directly to a git repo has added a new dependency on git.

As an alternate solution, I've forked flexbuffer and created a modernized drop-in replacement.

@kuba-kubula
Copy link
Contributor

Wow @kerihenare, thanks for that. It looks as the final solution.

@kuba-kubula
Copy link
Contributor

Although it's distributed as TS library. Shouldn't it be distributed as both, the lib (TS pre-built) and .ts

@kerihenare
Copy link
Author

@kuba-kubula You mean the npm package doesn't include the source files? I've now republished with them.

@luin
Copy link
Collaborator

luin commented Mar 28, 2019

Thanks for the pull request! However, given the pr has already changed the major code of the original flexbuffer, and it may potentially introduce inconsistent results to the module interface, I prefer to implementing the related part of flexbuffer in ioredis directly instead of requiring an additional module. What do you think?

@kuba-kubula
Copy link
Contributor

@luin Makes sense. @kerihenare has already started the work on the removal of flexbuffer–as–dependency, see #824 (comment)

@kerihenare
Copy link
Author

@luin flexbuffer2 is purely a port to ES6 and TS, no logic has really changed. It passes all of the original flexbuffer and ioredis tests.

However, I agree it might be better to just reimplement (or port) the functionality that ioredis requires. I've been considering that in this branch.

@stale
Copy link

stale bot commented Apr 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.

@stale stale bot added the wontfix label Apr 27, 2019
@freaz
Copy link

freaz commented Apr 29, 2019

@kerihenare Hi, are you planning to continue on integrating flexbuffer to ioredis?

@stale stale bot removed the wontfix label Apr 29, 2019
@luin
Copy link
Collaborator

luin commented May 3, 2019

Closed via #856.

@luin luin closed this May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants