-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Use msnodesqlv8 driver with typeorm #8063
Comments
Indulge me in this because I truly don't know. Why? |
@imnotjames wonder typeorm support msnodesqlv8 But when I want to use typeorm with msnodesqlv8, I have the above issues. I basically refer to this issue: #5830, force typeorm to use msnodesqlv8 driver by using Then I got 7 failed test cases, here I only ran mssql tests. |
We don't officially support As far as I can tell this is similar to writing a new driver because of some differences in where the parameter types need to come from, etc. |
If you're requesting a new driver I can update this issue as such. I don't see how else we'd handle this. Feel free to include information on how the tests are failing, though. |
oh I think this is more like a bug fix. Because typeorm is using driver:mssql and mssql support both tedious and I am thinking those failed 7 test scenarios are something need to be addressed or fixed. Not sure if I should call it a new feature, it might just be extra bug fix for driver:mssql |
I did not provide any sample code there. Still need more info on what the tests are doing that are failing. I have a good feeling that they're not interoperable and there's issues that are not trivial to make work between the two underlying drivers even if the compatibility layer exists via the mssql package. |
One reason to use the other driver - it supports |
Is someone still working on that ? Are there many people interested ? I had to drop TypeORM on a specific project because I needed that driver, but making the right changes to implement it could be interesting 👀 |
It's possible to make it work with a few minor changes in versions < |
Issue Description
Tests break when using msnodesqlv8 driver
Expected Behavior
Expect all test pass
Actual Behavior
Steps to Reproduce
this.mssql = PlatformTools.load("mssql")
withthis.mssql = PlatformTools.load("mssql/msnodesqlv8")
in order to use msnodesqlv8 driver. Seesrc/driver/sqlserver/SqlServerDriver.ts
wonder if there is a fix for this so I don't need this workaround.
My Environment
Additional Context
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: