Skip to content

[WIP] use mql #2478

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

[WIP] use mql #2478

wants to merge 4 commits into from

Conversation

lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Jun 18, 2025

No description provided.

@@ -6,7 +6,7 @@ import { major as majorVersion } from 'semver';
import type {
DownloadCenterConfig,
PlatformWithPackages,
} from '@mongodb-js/dl-center/dist/download-center-config';
} from '@mongodb-js/dl-center';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new module resolution compiler option is not liking the /dist/ hack so I changed @mongodb-js/dl-center to just export the types.

@@ -96,6 +96,7 @@ import { HIDDEN_COMMANDS } from '@mongosh/history';
import PlanCache from './plan-cache';
import ChangeStreamCursor from './change-stream-cursor';
import { ShellApiErrors } from './error-codes';
import type * as mql from '@mongodb-js/mql-typescript/schema';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is why I'm changing the moduleResolution ts compiler option. I want to be able to import a separate export from the default one.

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

Successfully merging this pull request may close these issues.

2 participants