Skip to content
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

Move db module from spacetimedb_sats to spacetimedb_lib #1479

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

kazimuth
Copy link
Contributor

@kazimuth kazimuth commented Jul 3, 2024

Description of Changes

As well as the relation module.

Split this out of the schema rewrite, it is largely a find-replace change (except for one method that had to be renamed due to orphan rule).

API and ABI breaking changes

This is an API-breaking change, but curiously not an ABI-breaking change.

Expected complexity level and risk

1

Testing

Tests and smoketests pass locally, except for the C# issues floating around. (e: this has now been fixed.)

@kazimuth kazimuth requested a review from Centril July 3, 2024 20:50
@kazimuth kazimuth requested a review from cloutiertyler as a code owner July 3, 2024 20:50
@bfops bfops added the release-any To be landed in any release window label Jul 8, 2024
impl From<ProductType> for Vec<ColumnDef> {
fn from(value: ProductType) -> Self {
impl ColumnDef {
pub fn from_product_type(value: ProductType) -> Vec<ColumnDef> {
Copy link
Contributor Author

@kazimuth kazimuth Jul 15, 2024

Choose a reason for hiding this comment

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

This change was necessary due to the orphan rule (you can't impl From<T> for Vec<StructDefinedInThisCrate>)

Copy link
Contributor

@mamcx mamcx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

This LGTM

@cloutiertyler cloutiertyler added this pull request to the merge queue Jul 15, 2024
@cloutiertyler cloutiertyler removed this pull request from the merge queue due to a manual request Jul 15, 2024
Update bindings crate

Update table crate

Update vm crate

Update bindings-macro crate

Update rust-wasm-test module

Update core crate

Update cli crate

Update bench crate

Remove needless dependency

Placate clippy

Cargo fmt

Placate clippy once more

Back, foul beast

Fix compile error
@kazimuth kazimuth added this pull request to the merge queue Jul 17, 2024
Merged via the queue into master with commit f81f2a7 Jul 17, 2024
7 checks passed
@kazimuth kazimuth deleted the jgilles/movedb branch July 17, 2024 23:50
@bfops bfops added the api-break A PR that makes an API breaking change label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-break A PR that makes an API breaking change release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants