Repository navigation
TML-3686, TML-3689, TML-3690: MongoDB queries take an execution context, as SQL queries do, so only validating entry points accept a contract #30865
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
Merged
+1,644
−1,148
Merged
Changes from 9 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
26e21f8
TML-3690: RuntimeMode is declared once, in framework-components
wmadden-electric 2a8447a
TML-3689: A stack with a driver always has one
wmadden-electric dd0b29f
TML-3689: Record upgrade instructions for the required stack driver
wmadden-electric 9449d14
TML-3686: The published mongoQuery validates its contract once
wmadden-electric 2480add
TML-3686: Register the MongoDB facade query-builder entry in the arch…
wmadden-electric d96b2ea
TML-3689: SqlExecutionStackWithDriver is SqlExecutionStack with a req…
wmadden-electric 8fda81f
TML-3689: Docs show the runtime path the clients use, not instantiate…
wmadden-electric 5e05ed3
TML-3686: The only mongoQuery a user can import is the validating one
wmadden-electric a021cac
Merge branch 'main' of https://github.com/prisma/prisma into tml-3689…
wmadden-electric 626282c
TML-3686: Examples import from published packages, and the upgrade de…
wmadden-electric 25f554a
TML-3689: The upgrade detection finds driver destructured from a stack
wmadden-electric 9ee860d
TML-3689: Stack driver detection matches driver only as the destructu…
wmadden-electric e422b7b
TML-3686: mongoQuery takes an execution context, as the SQL builder does
wmadden-electric cc9da80
TML-3686: MongoExecutionContext lives in query-ast without a stack, a…
wmadden-electric 5e67745
Merge branch 'main' of https://github.com/prisma/prisma into tml-3689…
wmadden-electric 1225f36
TML-3689: createSqlExecutionStack builds the stack through createExec…
wmadden-electric bfecc75
Merge origin/main into tml-3689-runtime-type-cleanups
wmadden-electric 09f121e
TML-3686: the Mongo runtime takes an adapter, and mongoOrm and mongoR…
wmadden-electric 6acd291
TML-3686: mongoOrm takes a context and a runtime, as the SQL orm() does
wmadden-electric 680e68b
Merge branch 'main' of https://github.com/prisma/prisma into tml-3689…
wmadden-electric 61e3475
TML-3686: the Mongo context builds enum accessors once with buildName…
wmadden-electric 375428b
TML-3686: db.enums is built by the static context, and the ORM builds…
wmadden-electric 0b3daac
TML-3686: one codec lookup builds Mongo enum accessors
wmadden-electric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...mongo-family/5-query-builders/query-builder/src/exports/internal-on-validated-contract.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export { mongoQueryOnValidatedContract } from '../query'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.