Skip to content

Commit

Permalink
feat(spike): rover core build (#340)
Browse files Browse the repository at this point in the history
* feat(spike): rover graph build

this PR introduces a TOML config format for specifying multiple
subgraphs to compose.

usage: rover graph build --services ./path/to/services.toml

This will attempt to compose your subgraph schemas. If it successfully composes,
it will print the composed CSDL.

If there are errors, they will be printed.

examples of both composing and non-composing inputs can be tested by running:

`cargo run -- graph build --services spike/composes.toml`

and

`cargo run -- graph build --services spike/errors.toml`
  • Loading branch information
EverlastingBugstopper authored Mar 22, 2021
1 parent 1ada0c6 commit 5697962
Show file tree
Hide file tree
Showing 11 changed files with 431 additions and 299 deletions.
148 changes: 148 additions & 0 deletions Cargo.lock

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

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ timber = { path = "./crates/timber" }
anyhow = "1.0.38"
atty = "0.2.14"
ansi_term = "0.12.1"
camino = "1.0.2"
camino = { version = "1.0.2", features = ["serde1"] }
billboard = { git = "https://github.com/EverlastingBugstopper/billboard.git", branch = "main" }
chrono = "0.4"
console = "0.14.0"
git2 = "0.13.17"
git-url-parse = "0.3.1"
harmonizer = "0.1.2"
heck = "0.3.2"
humantime = "2.1.0"
opener = "0.4.1"
Expand All @@ -51,10 +52,11 @@ strsim = "0.10"
serde_json = "1.0"
structopt = "0.3.21"
tracing = "0.1.22"
toml = "0.5"
regex = "1"
url = "2.2.0"
semver = "0.11"
toml = "0.5"
serde_yaml = "0.8"

[dev-dependencies]
assert_cmd = "1.0.1"
Expand Down
Loading

0 comments on commit 5697962

Please sign in to comment.