-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Error with multiple templates as indexes #50220
Comments
Make a bug report on the mongodb driver repo first. |
The issue as nothing to do with mongodb driver since I have a repro without it. It was just a context information for the issue to be easily findable. |
Looks like a duplicate of #13948, see my comment there |
@jcalz yes it looks the same |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
I'm have some issues with the last version of MongoDB node.js driver. There is now a type check on the queries filter/update (which is really great!) but some complex types require to bypass it..
Cf mongodb/node-mongodb-native#3328
🔎 Search Terms
record object template index indexes key
🕗 Version & Regression Information
⏯ Playground Link
https://www.typescriptlang.org/play?ts=4.8.0-dev.20220808#code/MYewdgzgLgBCCMAuGBvGBtA1kmADAhgHQAkKYArgLYBGApgE4C+uAuslPebTIzALyoMBEigAi+KLUJgQAdwAUASmZsYHLjxj4IMUJCgBuAFAB6E-wB8MAHIgYDeiHpGje6HABMyNFhzDSFDQMKuyc3LwCPv5iElIyCsqsoRqMxmaWMAAqAJ4ADtwA5D4AHsjQ9ACWYADmqtQgIAA2tPhgBjwFMBU6MrDaEBXVYPjUzWp2UHmFPtjI0YF0TElqYe2MBYQubrAgAMzeGLN4RAFUiyErXAA0h1541CILwcsAZviNEOH8gujR4pLSORKC7qWg3AoPAAMBWQbw+X20unA0DS5j4Vhy+RgRRg9BaABNwI1shhSjBylVash6k0Wm1cQSiSSIYRobD3p81p1ujBeloIAMhiMxlAJlNsTM-CcyGdnqpQe0sHdcA9TkElqo4ZyOptXMidgAWA6+ObSp4a5Jg25zVUy9UXLVfSJCaX-OJAxLysLgqEwmCOniojKY6aksocSl1BrNVrtFls-0c2hcro9EB9AWDYajbiitTinEm46PWUWy7J633Ev215JrmbIA
💻 Code
🙁 Actual behavior
Errors with o3 and o4 declarations. I think o2 should work also.
🙂 Expected behavior
No errors.
The text was updated successfully, but these errors were encountered: