302 Commits

Author SHA1 Message Date
Chris Tsang
2a8efed98d Update salvo to 0.50 2023-08-18 12:51:02 +01:00
Chris Tsang
43e2b9d314 update examples 2023-08-04 20:44:06 +01:00
Chris Tsang
727390b8d2 Revert unintended code changes.
This reverts commit ef861294e2987c5c2cc1fc2b909c72aaf2132ca5.
2023-08-04 20:39:38 +01:00
Chris Tsang
ef861294e2 Fix clippy 2023-08-04 20:26:12 +01:00
Chris Tsang
dd1def8bf3 Readme 2023-07-31 08:19:36 +01:00
Chris Tsang
81158da9c6 Readme 2023-07-30 06:16:34 +08:00
Chris Tsang
3a72c61bcc Readme 2023-07-30 06:07:35 +08:00
Chris Tsang
33fc350e76 Readme 2023-07-30 06:00:14 +08:00
Chris Tsang
7af76fc753
Seaography example WIP (#1788)
* Seaography example WIP

* Seaography example

* Screenshot
2023-07-30 05:08:28 +08:00
Chris Tsang
d7d45ae669 update examples 2023-07-27 15:01:42 +01:00
Chris Tsang
96087291c2 0.12.0-rc.5 2023-07-25 16:28:35 +08:00
darkmmon
84be56e01a
update example's dependency versions (#1759)
* version update, all examples marked with #notcomplete does not compile with cargo run

* WIP

* salvo example fixed

* testing, and boost a minor version

* fmt

* build dependency update

* CI

* cleanup

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-25 16:12:44 +08:00
Chris Tsang
ae899d6744 Remove sea-query's Iden macro 2023-07-13 10:36:56 +01:00
Chris Tsang
a42a9a1d3d update examples 2023-07-08 00:14:02 +08:00
joelhy
986f0c2d49
fix(doc): fix salvo framework name (#1731)
Co-authored-by: 黄景祥 <jingxiang.huang@baishancloud.com>
2023-06-29 23:44:52 +08:00
Chris Tsang
6bb7bb30fa update examples 2023-06-22 07:06:48 +08:00
df51d
0b15f4f5e2
change: rename core crate to service in examples (#1662)
* change: rename `core` crate to `service` in examples

* fix(jsonrpsee-example): broken dependency
2023-05-23 10:33:44 +08:00
Billy Chan
9ca01b3e7c
Upgrade tracing-subscriber dependency to 0.3.17 (#1609)
* Upgrade `tracing-subscriber` dependency to 0.3.17

* Revert "fix: `regex` dep should enable `unicode` feature (#1605)"

This reverts commit 41d9a853342155e0b7df4afb15990225b1c8a981.
2023-04-24 14:21:15 +08:00
Billy Chan
ca09ac9333
update examples 2023-03-16 18:28:04 +08:00
Billy Chan
6b1463ddd0
update examples 2023-03-10 22:13:03 +08:00
Billy Chan
4f8ad56cc4
Cont. Added support for using sea-orm with #[deny(missing_docs)] (#1531)
* Added support for using sea-orm with #[deny(missing_docs)] (#1522)

* feat(macros): Added documentation tags for generated entities

* chore: Added deny(missing_docs) attribute to basic example

* chore: Fix clippy errors

* ci: test missing docs of derive macros generated types

* Try missing docs (CI should fail)

* Revert "Try missing docs (CI should fail)"

This reverts commit 83356bfca8939e7807f14bad8bb816fcabc1bf7b.

---------

Co-authored-by: Lewin Probst, M.Sc <30552361+emirror-de@users.noreply.github.com>
2023-03-10 21:49:08 +08:00
Chris Tsang
f9caf9d6dd update examples 2023-02-07 02:51:00 +08:00
Chris Tsang
c4df4999f2 update examples 2023-02-04 16:10:21 +08:00
Chris Tsang
d07f840830 Improve example 2023-02-03 13:57:12 +08:00
Chris Tsang
56e4b4337b Improve API & Example 2023-02-02 11:21:00 +08:00
Chris Tsang
f66834f6e6 update examples 2023-02-01 23:46:42 +08:00
Billy Chan
4e3a45c2f7
Fix clippy warnings (#1436) 2023-01-31 15:52:57 +08:00
Chris Tsang
5ffd8025f2 Update prelude 2023-01-29 11:34:28 +08:00
Cemre Mengu
5ccae4e6d0
examples(axum): use tokio runtime (#1428) 2023-01-28 21:37:24 +08:00
Chris Tsang
fce1c76c85 Fix jsonrpsee example 2023-01-19 14:15:54 +08:00
Billy Chan
cbd7a8d1c9
Cleanup the use of vec![] (#1367)
* Public methods accept any IntoIterator as argument

* refactoring
2023-01-11 14:17:06 +08:00
Billy Chan
b2185af559
Cleaning up dependency (#1300)
* Dependency version cleanup

* Update build tool

* Disable default features

* [cli] disable default features
2022-12-16 15:52:00 +08:00
ttys3
0c40345e1b
chore: upgrade to axum 0.6.1 version (#1285) 2022-12-08 00:06:23 +08:00
Chris Tsang
3be41808e9 update examples 2022-11-14 15:08:25 +08:00
Chris Tsang
00b45e25c4 update examples 2022-11-06 21:03:40 +08:00
Chris Tsang
79430e3dd1 Update example 2022-11-06 13:00:05 +08:00
Jakob
9952aa6740
Make sqlx logging configurable for seaorm-rocket (#1192) 2022-11-06 12:03:07 +08:00
Billy Chan
ecf49b5155
update examples 2022-10-27 16:03:45 +08:00
Chris Tsang
8d7aff12ba sea-orm-rocket 0.5.1 2022-10-16 17:33:59 +08:00
Erick Pacheco Pedraza
2cdc065b21
feat: support to Rocket-Okapi (#1071)
* feat: support to okapi

* fix: fmt checks

* chore: rocket-okapi-example: add required schemas

* chore: rocket-okapi-example: add dto

* chore: rocket-okapi-example: add custom error

* chore: rocket-okapi-example: add api controllers

* chore: rocket-okapi-example: add notes in Readme

* chore: make rocket_okapi optional

* refactor: delete rocket example from rocket_example

* chore: rocket-okapi-example: add base files for okapi example

* chore: rocket-okapi-example: add controllers and dto

* chore: rocket-okapi-example: add docs
2022-10-16 17:45:56 +08:00
Horu
d9ac2f1509
fix(deps): dotenv -> dotenvy (#1085) 2022-10-05 23:19:48 +08:00
Billy Chan
6ba8e1b9f1
DeriveRelation on empty Relation enum (#1019) 2022-09-25 10:17:39 +08:00
Sanford Pun
5143307b3e
Demonstrate how to mock test SeaORM by separating core implementation from the web API (#890)
* Move core implementations to a standalone crate

* Set up integration test skeleton in `core`

* Demonstrate mock testing with query

* Move Rocket api code to a standalone crate

* Add mock execution

* Add MyDataMyConsent in COMMUNITY.md (#889)

* Add MyDataMyConsent in COMMUNITY.md

* Update MyDataMyConsent description in COMMUNITY.md

* Update COMMUNITY.md

Chronological order

* [cli] bump sea-schema to 0.9.3 (SeaQL/sea-orm#876)

* Update CHNAGELOG PR links

* 0.9.1 CHANGELOG

* Auto discover and run all issues & examples CI (#903)

* Auto discover and run all [issues] CI

* Auto discover and run all examples CI

* Fixup

* Testing

* Test [issues]

* Compile prepare_mock_db() conditionally based on "mock" feature

* Update workflow job to run mock test if `core` folder exists

* Update Actix3 example

* Fix merge conflict human error

* Update usize used in paginate to u64 (PR#789)

* Update sea-orm version in the Rocket example to 0.10.0

* Fix GitHub workflow to run mock test for core crates

* Increase the robustness of core crate check by verifying that the `core` folder is a crate

* Update Actix(4) example

* Update Axum example

* Update GraphQL example

* Update Jsonrpsee example

* Update Poem example

* Update Tonic example

* Cargo fmt

* Update Salvo example

* Update path of core/Cargo.toml in README.md

* Add mock test instruction in README.md

* Refactoring

* Fix Rocket examples

Co-authored-by: Amit Goyani <63532626+itsAmitGoyani@users.noreply.github.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-23 12:57:43 +08:00
Billy Chan
3727f7b8b5
[examples] create input model with DeriveIntoActiveModel (#975) 2022-08-25 12:51:22 +08:00
Billy Chan
87f7891f17
Update Salvo examples 2022-08-22 14:42:05 +08:00
Chris Tsang
13b53369e2 Prepare for 0.10.0 2022-08-20 22:47:31 +08:00
liberwang1013
fff0c87a6d
replaced usize with u64 in PaginatorTrait (#789)
undefined
2022-08-20 22:43:17 +08:00
Chris Tsang
85a829924c update examples 2022-08-20 14:06:55 +08:00
Billy Chan
43495de0aa
Fix clippy warnings - 1 (#967)
* Fix clippy warnings

* cargo fmt

* Fix clippy warnings

* cargo fmt
2022-08-12 20:02:53 +08:00
kyoto7250
9f3039407a
update async-graphql-axum (#939) 2022-08-08 16:06:06 +08:00