Skip to content

Find conditions with e.g. And are broken since v0.3.22 for mssql #11466

@christian-forgacs

Description

@christian-forgacs

Issue description

Since v0.3.22 find conditions with e.g. And are broken for mssql

Expected Behavior

Correctly working where conditions for mssql but with the parameter type fixes from commit ecae9f5.

Actual Behavior

Since commit ecae9f5 where conditions with e.g. And usage in mssql throw following error:

QueryFailedError: Error: Validation failed for parameter '0'. Invalid number.

Steps to reproduce

Add mssql to enabledDrivers in test for issue #3113. Following error occurs:

QueryFailedError: Error: Validation failed for parameter '0'. Invalid number.

My Environment

Dependency Version
TypeORM version 0.3.22

Additional Context

Currently I try to fix this issue. But I guess @sudhirt4 can fix this issue faster because he is the contributor of the broken commit ecae9f5 #11298

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqlite-abstract
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions