1638 Commits

Author SHA1 Message Date
Billy Chan
1035bbb431
Fixup 2022-09-15 16:44:31 +08:00
Billy Chan
7c591049be
Add docs 2022-09-15 16:18:13 +08:00
Billy Chan
0d31a012cc
Add tests to double check and prevent it from happening again 2022-09-15 15:41:13 +08:00
Billy Chan
8ecb4fccba
Implement IntoActiveValue for Vec<u8> types 2022-09-15 15:40:34 +08:00
Jimmy Cuadra
bde43f51f8 Implement IntoActiveValue for time types.
I tried to implement a [custom active
model](https://www.sea-ql.org/SeaORM/docs/advanced-query/custom-active-model/),
and one of the columns was `Option<TimeDateTimeWithTimeZone>`. I got a
compiler error:

```
error[E0277]: the trait bound `std::option::Option<sea_orm::prelude::TimeDateTimeWithTimeZone>: IntoActiveValue<_>` is not satisfied
```

Looking into the source code, it seemed a simple oversight that this
trait was implemented for the `chrono` types but not the `time` types,
and it was easy enough to fix since there's already a macro to implement
it for new types.

I also noticed that the `time` types are not accounted for in
`src/query/json.rs` while the `chrono` types are, which I assume is also
an oversight. However, I don't have a need for that at this point and
the fix for that seemed less trivial, so I'm just bringing it to your
attention.

Thanks for SeaORM!
2022-09-14 22:58:05 -07:00
Zoe Faltibà
2f4c481280
Community.md (#1027) 2022-09-13 11:58:13 +08:00
Billy Chan
d532deb636
Update COMMUNITY.md
Shout out to @bkonkle for the great article
2022-09-05 15:33:02 +08:00
Michael Lohr
5d785ca908
Update COMMUNITY.md (#1014)
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-05 12:03:05 +08:00
Dionysus
967fd68649
Add MoonRamp under Built with SeaORM (#1013)
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-05 12:02:19 +08:00
Wyatt Herkamp
dd2dc5dd56
Add's Nitro_Repo (#1012)
Closes https://github.com/wyatt-herkamp/nitro_repo/issues/478

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-05 12:00:52 +08:00
Chris Tsang
e919831e72
Update CHANGELOG.md 2022-09-05 00:41:51 +08:00
Billy Chan
a80c33ef4c
Rewrite enum and text casting (#973)
* Rewrite enum and text casting

* Add doc tests

* Refactoring
2022-09-05 00:38:12 +08:00
Chris Tsang
a0bd359c65
Update COMMUNITY.md 2022-09-04 23:41:01 +08:00
Chris Tsang
9ea34984fb
Update COMMUNITY.md 2022-09-04 23:30:59 +08:00
Samuel Boyden
1ff53d81d8
Add CodeCTRL to COMMUNITY.md (#1015) 2022-09-04 23:15:16 +08:00
Billy Chan
d016f66a5f
Cargo.toml specify SeaORM homepage 2022-09-02 15:12:16 +08:00
Billy Chan
9b6b879122
Migrator test cases with tracing_subscriber 2022-08-25 13:56:41 +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
Chris Tsang
f4634e55b3 Changelog 2022-08-20 22:46:08 +08:00
liberwang1013
fff0c87a6d
replaced usize with u64 in PaginatorTrait (#789)
undefined
2022-08-20 22:43:17 +08:00
Chris Tsang
e40c351676 Changelog 2022-08-20 22:31:45 +08:00
Chris Tsang
42c1c7377a Changelog 2022-08-20 22:24:29 +08:00
Chris Tsang
85a829924c update examples 2022-08-20 14:06:55 +08:00
Chris Tsang
e617599d92 sea-orm-migration 0.9.2 2022-08-20 14:06:55 +08:00
Chris Tsang
065ab80cd0 0.9.2 2022-08-20 14:06:55 +08:00
Chris Tsang
55e6b9d7d1 sea-orm-macros 0.9.2 2022-08-20 14:06:55 +08:00
Chris Tsang
8dd19831cc sea-orm-cli 0.9.2 2022-08-20 14:06:55 +08:00
Chris Tsang
25faf02abe sea-orm-codegen 0.9.2 2022-08-20 14:06:55 +08:00
Chris Tsang
fad54627cd Update sea-query to 0.26.3 2022-08-20 14:06:55 +08:00
Ryuma Taguchi
d262501a44
fix typo in SqlxPostgresConnector::connect() doc (#968) 2022-08-15 23:30:27 +08:00
Chris Tsang
10a215d28e Changelog 2022-08-14 01:01:12 +08:00
Chris Tsang
632471a526 Update chrono version 2022-08-14 00:46:38 +08:00
Chris Tsang
5dd28509af
Merge pull request #950 from robjtede/x-chrono-def
exclude chrono default features
2022-08-14 00:05:05 +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
Igor
0d94941c3b
Fix typos (#958) 2022-08-12 18:31:35 +08:00
Billy Chan
5e34bcecbe
Edit README 2022-08-11 15:39:50 +08:00
Billy Chan
1a2090fb5e
Give a shout-out to our contributors 2022-08-10 13:40:18 +08:00
Gabriel Paulucci
be0f7b4f13
Consider adding SophyCore to SeaORM showcase! (#952) 2022-08-09 14:28:56 +08:00
Rob Ede
5735c25e69
exclude chrono default features 2022-08-08 15:15:54 +02:00
kyoto7250
9f3039407a
update async-graphql-axum (#939) 2022-08-08 16:06:06 +08:00
Chris Tsang
eeebe2d35c Changelog 2022-08-07 18:50:14 +08:00
Chris Tsang
bdc78e541a Changelog 2022-08-07 18:47:09 +08:00
Chris Tsang
e43f452c0a
Merge pull request #938 from ikrivosheev/fix/minimal_rustc_version
Set minimal rustc version
2022-08-07 17:50:27 +08:00
Ivan Krivosheev
2731878d0e Set minimal rustc version 2022-08-07 02:34:43 +03:00
Chris Tsang
2b0ac51532
Merge pull request #936 from SeaQL/pulls/634
[cli] added with-copy-enums flag to cli and conditional derive
2022-08-06 18:19:10 +08:00
Erik Rhodes
5fbc336de0 [cli] added with-copy-enums flag to cli and conditional derive 2022-08-06 16:45:28 +08:00
Chris Tsang
8a269bf171
Merge pull request #931 from SeaQL/migrator-cli-handle-init-generate-commands
[cli] migrator CLI handles init and generate commands
2022-08-03 23:23:53 +08:00
Billy Chan
c4fa40ab3e
[cli] migrator CLI handles init and generate commands 2022-08-02 16:30:49 +08:00