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

Bun Support #416

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bun Support #416

wants to merge 2 commits into from

Conversation

Darker-Ink
Copy link

So I'm using bun for one of my projects. I'm also using cassandra-driver. These are a few issues which cause the driver to not work with bun. I've gone ahead and fixed them.

I tested this on bun version 1.0.6, With that I also tested with node v16.20.2+

Changing how we connect to the net client so runtimes like bun will work (tested this on 1.0.6)
In bun, for some reason when concating buffers if the length is set to undefined, bun returns a empty buffer. This fixes that (still works in node, tested on bun v1.06 and node v16.20.2+)
@Darker-Ink
Copy link
Author

I've also already signed the datastax CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant