diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7d544aaf..f9d7280f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -293,7 +293,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - path: [basic, actix_example, actix3_example, axum_example, axum-graphql_example, rocket_example, poem_example, jsonrpsee_example] + path: [basic, actix_example, actix3_example, axum_example, graphql_example, rocket_example, poem_example, jsonrpsee_example] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 8d2a3de3..c214f588 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ Join our Discord server to chat with others in the SeaQL community! + [Rocket Example](https://github.com/SeaQL/sea-orm/tree/master/examples/rocket_example) + [Actix Example](https://github.com/SeaQL/sea-orm/tree/master/examples/actix_example) + [Axum Example](https://github.com/SeaQL/sea-orm/tree/master/examples/axum_example) -+ [Axum-GraphQL Example](https://github.com/SeaQL/sea-orm/tree/master/examples/axum-graphql_example) + [Poem Example](https://github.com/SeaQL/sea-orm/tree/master/examples/poem_example) ++ [GraphQL Example](https://github.com/SeaQL/sea-orm/tree/master/examples/graphql_example) ## Features diff --git a/examples/axum-graphql_example/.env b/examples/graphql_example/.env similarity index 100% rename from examples/axum-graphql_example/.env rename to examples/graphql_example/.env diff --git a/examples/axum-graphql_example/.gitignore b/examples/graphql_example/.gitignore similarity index 100% rename from examples/axum-graphql_example/.gitignore rename to examples/graphql_example/.gitignore diff --git a/examples/axum-graphql_example/Cargo.toml b/examples/graphql_example/Cargo.toml similarity index 93% rename from examples/axum-graphql_example/Cargo.toml rename to examples/graphql_example/Cargo.toml index 6f8dd51c..7e906603 100644 --- a/examples/axum-graphql_example/Cargo.toml +++ b/examples/graphql_example/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "axum-graphql" +name = "sea-orm-graphql-example" authors = ["Aaron Leopold "] version = "0.1.0" edition = "2021" diff --git a/examples/axum-graphql_example/README.md b/examples/graphql_example/README.md similarity index 100% rename from examples/axum-graphql_example/README.md rename to examples/graphql_example/README.md diff --git a/examples/axum-graphql_example/Screenshot1.png b/examples/graphql_example/Screenshot1.png similarity index 100% rename from examples/axum-graphql_example/Screenshot1.png rename to examples/graphql_example/Screenshot1.png diff --git a/examples/axum-graphql_example/Screenshot2.png b/examples/graphql_example/Screenshot2.png similarity index 100% rename from examples/axum-graphql_example/Screenshot2.png rename to examples/graphql_example/Screenshot2.png diff --git a/examples/axum-graphql_example/entity/Cargo.toml b/examples/graphql_example/entity/Cargo.toml similarity index 100% rename from examples/axum-graphql_example/entity/Cargo.toml rename to examples/graphql_example/entity/Cargo.toml diff --git a/examples/axum-graphql_example/entity/src/lib.rs b/examples/graphql_example/entity/src/lib.rs similarity index 100% rename from examples/axum-graphql_example/entity/src/lib.rs rename to examples/graphql_example/entity/src/lib.rs diff --git a/examples/axum-graphql_example/entity/src/note.rs b/examples/graphql_example/entity/src/note.rs similarity index 100% rename from examples/axum-graphql_example/entity/src/note.rs rename to examples/graphql_example/entity/src/note.rs diff --git a/examples/axum-graphql_example/migration/Cargo.toml b/examples/graphql_example/migration/Cargo.toml similarity index 100% rename from examples/axum-graphql_example/migration/Cargo.toml rename to examples/graphql_example/migration/Cargo.toml diff --git a/examples/axum-graphql_example/migration/README.md b/examples/graphql_example/migration/README.md similarity index 100% rename from examples/axum-graphql_example/migration/README.md rename to examples/graphql_example/migration/README.md diff --git a/examples/axum-graphql_example/migration/src/lib.rs b/examples/graphql_example/migration/src/lib.rs similarity index 100% rename from examples/axum-graphql_example/migration/src/lib.rs rename to examples/graphql_example/migration/src/lib.rs diff --git a/examples/axum-graphql_example/migration/src/m20220101_000001_create_table.rs b/examples/graphql_example/migration/src/m20220101_000001_create_table.rs similarity index 100% rename from examples/axum-graphql_example/migration/src/m20220101_000001_create_table.rs rename to examples/graphql_example/migration/src/m20220101_000001_create_table.rs diff --git a/examples/axum-graphql_example/migration/src/main.rs b/examples/graphql_example/migration/src/main.rs similarity index 100% rename from examples/axum-graphql_example/migration/src/main.rs rename to examples/graphql_example/migration/src/main.rs diff --git a/examples/axum-graphql_example/src/db.rs b/examples/graphql_example/src/db.rs similarity index 100% rename from examples/axum-graphql_example/src/db.rs rename to examples/graphql_example/src/db.rs diff --git a/examples/axum-graphql_example/src/graphql/mod.rs b/examples/graphql_example/src/graphql/mod.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/mod.rs rename to examples/graphql_example/src/graphql/mod.rs diff --git a/examples/axum-graphql_example/src/graphql/mutation/mod.rs b/examples/graphql_example/src/graphql/mutation/mod.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/mutation/mod.rs rename to examples/graphql_example/src/graphql/mutation/mod.rs diff --git a/examples/axum-graphql_example/src/graphql/mutation/note.rs b/examples/graphql_example/src/graphql/mutation/note.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/mutation/note.rs rename to examples/graphql_example/src/graphql/mutation/note.rs diff --git a/examples/axum-graphql_example/src/graphql/query/mod.rs b/examples/graphql_example/src/graphql/query/mod.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/query/mod.rs rename to examples/graphql_example/src/graphql/query/mod.rs diff --git a/examples/axum-graphql_example/src/graphql/query/note.rs b/examples/graphql_example/src/graphql/query/note.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/query/note.rs rename to examples/graphql_example/src/graphql/query/note.rs diff --git a/examples/axum-graphql_example/src/graphql/schema.rs b/examples/graphql_example/src/graphql/schema.rs similarity index 100% rename from examples/axum-graphql_example/src/graphql/schema.rs rename to examples/graphql_example/src/graphql/schema.rs diff --git a/examples/axum-graphql_example/src/main.rs b/examples/graphql_example/src/main.rs similarity index 100% rename from examples/axum-graphql_example/src/main.rs rename to examples/graphql_example/src/main.rs diff --git a/src/lib.rs b/src/lib.rs index dde6ae0c..c9aa3525 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,8 +37,8 @@ //! + [Rocket Example](https://github.com/SeaQL/sea-orm/tree/master/examples/rocket_example) //! + [Actix Example](https://github.com/SeaQL/sea-orm/tree/master/examples/actix_example) //! + [Axum Example](https://github.com/SeaQL/sea-orm/tree/master/examples/axum_example) -//! + [Axum-GraphQL Example](https://github.com/SeaQL/sea-orm/tree/master/examples/axum-graphql_example) //! + [Poem Example](https://github.com/SeaQL/sea-orm/tree/master/examples/poem_example) +//! + [GraphQL Example](https://github.com/SeaQL/sea-orm/tree/master/examples/graphql_example) //! //! ## Features //!