Skip to content

Commit

Permalink
derive-typescript: bump Cargo.toml pin for Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraettinger committed Jan 18, 2024
1 parent ee10964 commit 03b3c91
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 40 deletions.
87 changes: 53 additions & 34 deletions crates/derive-typescript/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions crates/derive-typescript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ name = "derive-typescript"
path = "src/main.rs"

[dependencies]
doc = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
json = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
proto-flow = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
doc = { git = "https://github.com/estuary/flow", branch = "master" }
json = { git = "https://github.com/estuary/flow", branch = "master" }
proto-flow = { git = "https://github.com/estuary/flow", branch = "master" }

anyhow = "1"
itertools = "0.11"
Expand All @@ -29,9 +29,9 @@ tracing-subscriber = { version = "0.3", features = [
url = "2"

[dev-dependencies]
models = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
sources = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
tables = { git = "https://github.com/estuary/flow", branch = "johnny/rust-connectors" }
models = { git = "https://github.com/estuary/flow", branch = "master" }
sources = { git = "https://github.com/estuary/flow", branch = "master" }
tables = { git = "https://github.com/estuary/flow", branch = "master" }

insta = "1"
serde_yaml = "0.9"
2 changes: 2 additions & 0 deletions crates/derive-typescript/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ fn validate(validate: derive::request::Validate) -> anyhow::Result<derive::respo
shuffle_key_types: _,
project_root,
import_map,
..
} = &validate;

let collection = collection.as_ref().unwrap();
Expand All @@ -148,6 +149,7 @@ fn validate(validate: derive::request::Validate) -> anyhow::Result<derive::respo
collection,
name,
shuffle_lambda_config_json,
..
} = transform;

let lambda = if lambda_config_json == "null" {
Expand Down

0 comments on commit 03b3c91

Please sign in to comment.