* Add DeriveRelatedEntity macro * Add generation for related enum and seaography * Add seaography cli param * update codegen tests * Fix DeriveRelatedEntity macro doc and includes * Fix all RelatedEntity variants for RelationBuilder * Add tests for code * Cargo format * Fix clippy code * Fix format * Fix unit tests * Fix unit tests * Provide default for seaography::RelationBuilder * Update changelog * Update tests * Modify code to match feedback * Bring old Related Impl trait generation * Modify DeriveRelatedEntity to gen impl seaography::RelationBuilder * Generate RelatedEntity enum when seaography flag is enabled * Update documentation * Update Changelog * Fix format errors * Fix code generation * relations with suffix are definition based * Rev => Reverse easier to read * snake_case to cameCase for name generation * Fix unit tests * Update lib.rs * derive `seaography::RelationBuilder` only when `seaography` feature is enabled * Try constructing async-graphql root for "related entity" and "entity" without relation * Update demo * CHANGELOG * Update Cargo.toml Co-authored-by: Chris Tsang <chris.2y3@outlook.com> * Revert "Update Cargo.toml" This reverts commit 6b1669836a4fb5040bfb08999f0cf640c74dc64d. --------- Co-authored-by: Billy Chan <ccw.billy.123@gmail.com> Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
21 lines
654 B
TOML
21 lines
654 B
TOML
[package]
|
|
name = "graphql"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
poem = { version = "1.3.55" }
|
|
async-graphql-poem = { version = "5.0.6" }
|
|
async-graphql = { version = "5.0.6", features = ["decimal", "chrono", "dataloader", "dynamic-schema"] }
|
|
async-trait = { version = "0.1.64" }
|
|
dotenv = "0.15.0"
|
|
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
|
|
tracing = { version = "0.1.37" }
|
|
tracing-subscriber = { version = "0.3.16" }
|
|
lazy_static = { version = "1.4.0" }
|
|
|
|
sea-orm = { path = "../../../" }
|
|
entity = { path = "../entity", features = ["seaography"] }
|
|
seaography = { path = "../../../../seaography" }
|