-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(schema-engine): get rid of
toml
-> Rust
generation in `json…
…-rpc-api-build`, which is now compatible with `wasm32-unknown-unknown` (#5224) This PR: - Closes [ORM-778](https://linear.app/prisma-company/issue/ORM-778/get-rid-of-toml-rust-generation-in-json-rpc-api-build-enable-wasm) - Gets rid of `toml` -> `Rust` generation in `json-rpc-api-build`. Toml definitions are substituted with equivalent Rust struct/enum declarations, avoiding all the previous build-time shenanigans. - You can see the previous expanded macro in b1efb11. - Renames `json-rpc-api-build` into `json-rpc-api` - Enables `wasm32-unknown-unknown` usage of `json-rpc-api` /integration --------- Co-authored-by: jkomyno <[email protected]>
- Loading branch information
Showing
36 changed files
with
735 additions
and
1,135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
schema-engine/json-rpc-api-build/methods/applyMigrations.toml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
schema-engine/json-rpc-api-build/methods/createDatabase.toml
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
schema-engine/json-rpc-api-build/methods/createMigration.toml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
schema-engine/json-rpc-api-build/methods/devDiagnostic.toml
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
schema-engine/json-rpc-api-build/methods/diagnoseMigrationHistory.toml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.