Skip to content

Commit

Permalink
Automate Type URI generation (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred Mountfield authored Sep 8, 2022
1 parent 37e7cd0 commit 6711652
Show file tree
Hide file tree
Showing 54 changed files with 2,242 additions and 907 deletions.
5 changes: 5 additions & 0 deletions packages/graph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ Then, the Graph API can be started:
cargo run
```

### Logging configuration

Some of the libraries used are very talkative in `trace` logging configurations, especially `mio`, `hyper`, and `tokio_util`.
If you're interested in just increasing the logs for the Graph, we recommend specifically targeting the crates with `RUST_LOG=graph=trace,hash_graph=trace`.

## Development

In order to build run the following command:
Expand Down
267 changes: 259 additions & 8 deletions packages/graph/clients/typescript/api.ts

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

2 changes: 2 additions & 0 deletions packages/graph/hash_graph/Cargo.lock

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

1 change: 1 addition & 0 deletions packages/graph/hash_graph/bin/hash_graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ clap_complete = "3.2.3"
# TODO: Change to `version = "0.2"` as soon as it's released
error-stack = { git = "https://github.com/hashintel/hash", rev = "5edddb5", features = ["spantrace"] }
graph = { path = "../../lib/graph", features = ["clap"] }
regex = "1.6.0"
serde_json = "1.0.83"
tokio = { version = "1.18.2", features = ["rt-multi-thread", "macros"] }
tokio-postgres = { version = "0.7.6", default-features = false }
Expand Down
Loading

0 comments on commit 6711652

Please sign in to comment.