Skip to content

Commit 0b9adcf

Browse files
authored
Deprecate Integer (#785)
The custom implementation of Integer will be fully replaced by for BigInt in the future version of the driver.
1 parent ce4d679 commit 0b9adcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/integer.ts

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ const INT_CACHE: Map<number, Integer> = new Map()
4343
* @class A Integer class for representing a 64 bit two's-complement integer value.
4444
* @param {number} low The low (signed) 32 bits of the long
4545
* @param {number} high The high (signed) 32 bits of the long
46+
*
47+
* @deprecated This class will be removed or made internal in a future version of the driver.
48+
* Please configure your driver to use BigInt instead.
49+
*
4650
* @constructor
4751
*/
4852
class Integer {

0 commit comments

Comments
 (0)