22 Commits

Author SHA1 Message Date
darkmmon
64342b105c
Upgrading to syn v2 (#1713)
* resetted and re-did the changes

* fmt

* upgraded to syn2 for sea-orm-codegen

* Rename `bae2`

* Drop the use of `#[sea_orm(table_name = "col_name")]` in `DeriveColumn`

* unified derived input metadata parsing filter

* Propagate errors

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-06-26 20:15:37 +08:00
Sergei Ivankov
c34b6feb5e
Update heck dependency (#1520)
* Update heck dependency

* Fix formatter error

---------

Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
2023-03-16 14:13:56 +08:00
Billy Chan
fa94521c25
[issues] fully qualified IdenStatic::as_str() (#1280) 2022-12-06 12:00:43 +08:00
Billy Chan
6564ddac15
Testing [issues] [cli] 2022-09-01 16:39:18 +08:00
Billy Chan
4e835f2ee1
. 2022-09-01 16:38:47 +08:00
Chris Tsang
85533a3bb3 Give up and fix tests 2022-08-28 14:54:26 +08:00
Chris Tsang
348e841139 Refactor ColumnFromStrErr 2022-08-28 13:30:51 +08:00
Billy Chan
5a2ccf5a29 Fully quantity std::result::Result in proc_maros 2022-02-01 15:04:58 +02:00
Emile Fugulin
f04ef378c6 Add feature to generate table Iden 2021-12-04 12:05:24 -05:00
Charles Chege
06aa9e3175 Document the macros.
Add code examples for the macros
2021-10-29 10:36:18 +03:00
Charles Chege
497bdbe3dd Document the macros.
Add code examples for the macros
2021-10-28 15:46:38 +03:00
Billy Chan
864ec522b8 Add #[automatically_derived] to all derived implementations 2021-10-15 21:25:31 +08:00
Billy Chan
88776a28ed
Rename column name & column enum variant 2021-09-28 14:27:19 +08:00
Chris Tsang
e5f290380a Use ColumnFromStrErr 2021-08-23 01:06:25 +08:00
Chris Tsang
332ab3ccf5 Remove derive PartialEq 2021-08-22 22:15:40 +08:00
Ari Seyhun
46a4cafaa9 Implement FromStr for DeriveColumn 2021-08-22 02:00:20 +08:00
Billy Chan
69b0ae1177 Custom column names with default 2021-08-13 21:39:50 +08:00
Billy Chan
8b30ef74a2 Customize column names 2021-08-12 22:53:22 +08:00
Chris Tsang
2bfc7f9a9f expend -> expand 2021-05-27 22:27:08 +08:00
Billy Chan
8d92e09858
Derive macros traits with crate name 2021-05-18 18:43:14 +08:00
Chris Tsang
62b3c37e20 cargo fmt 2021-05-17 19:51:26 +08:00
Billy Chan
07b58551af
Add proc_macro 2021-05-17 16:59:34 +08:00