escritorio-gustavo
|
4eccadaabc
|
Update CHANGELOG.md
|
2024-02-08 17:45:11 -03:00 |
|
escritorio-gustavo
|
dd32308cb5
|
Add support for #[serde(rename_all_fields = "...")] attribute (#225)
* Add support for #[serde(rename_all_fields = ...)] attribute
* Change VariantAttr constructor
* Document the new attribute
* Update CHANGELOG.md
* Update tests
* Run cargo +nightly fmt
|
2024-02-08 17:12:16 -03:00 |
|
escritorio-gustavo
|
be74ebba37
|
Merge pull request #226 from Aleph-Alpha/support_untagged_variant
Add support for `#[serde(untagged)]` on enum variants
|
2024-02-08 14:23:00 -03:00 |
|
Gustavo
|
a84b8389bc
|
Fix test dependency on serde
|
2024-02-08 14:20:28 -03:00 |
|
Gustavo
|
db6af98bbd
|
Merge remote-tracking branch 'refs/remotes/origin/support_untagged_variant'
|
2024-02-08 14:17:43 -03:00 |
|
escritorio-gustavo
|
9ace87fcbd
|
Merge branch 'main' into support_untagged_variant
|
2024-02-08 14:18:18 -03:00 |
|
Gustavo
|
b358ffa0c7
|
Parse #[ts(untagged)] on enum variants
|
2024-02-08 14:16:47 -03:00 |
|
Gustavo
|
63c889fc1a
|
Run cargo +nightly fmt
|
2024-02-08 14:15:35 -03:00 |
|
escritorio-gustavo
|
e352882903
|
Merge pull request #227 from Aleph-Alpha/ts_tag
Implement `#[ts(untagged)]`, `#[ts(tag = "...")]` and `#[ts(tag = "...", content = "...")]`
|
2024-02-08 14:11:31 -03:00 |
|
Gustavo
|
f996370337
|
Remove more serde dependency from tests
|
2024-02-08 11:10:03 -03:00 |
|
Gustavo
|
c945fa67e3
|
Fix test warning
|
2024-02-08 10:59:34 -03:00 |
|
Gustavo
|
adc9d4549e
|
Fix test warning
|
2024-02-08 10:58:58 -03:00 |
|
Gustavo
|
aa0a85f64e
|
Update CHANGELOG.md
|
2024-02-08 10:52:56 -03:00 |
|
Gustavo
|
10ef8a97c3
|
Fix another test
|
2024-02-08 10:48:56 -03:00 |
|
Gustavo
|
85c433e210
|
Fix test depending on serde
|
2024-02-08 10:47:37 -03:00 |
|
Gustavo
|
61030c27b0
|
Implement #[ts(untagged)] #[ts(tag = ...)] and #[ts(tag = ..., content = ...)]
|
2024-02-08 10:42:59 -03:00 |
|
escritorio-gustavo
|
c3af2e2312
|
Update CHANGELOG.md
|
2024-02-05 14:53:13 -03:00 |
|
Gustavo
|
b54c1e1a6f
|
Add support for #[serde(untagged)] on enum variants
|
2024-02-05 14:38:18 -03:00 |
|
escritorio-gustavo
|
e4aad3bb62
|
Update lib.rs doc comment
`#[ts(flatten)]` now works with enums
|
2024-02-05 08:33:32 -03:00 |
|
Moritz Bischof
|
fb4f8f4dc0
|
update CHANGELOG.md
|
2024-02-03 22:40:25 +01:00 |
|
NyxCode
|
e19b099def
|
Merge pull request #224 from Aleph-Alpha/more-tests
Tests: Add tests for deeply nested generics and recursive types
|
2024-02-03 22:08:16 +01:00 |
|
Moritz Bischof
|
78d98cdba9
|
tests: generics::deeply_nested(), self_referential
|
2024-02-03 21:33:45 +01:00 |
|
escritorio-gustavo
|
5db57ab746
|
Merge pull request #218 from Aleph-Alpha/e2e
E2E tests + TypeList
Auto export dependencies
|
2024-02-01 17:05:34 -03:00 |
|
escritorio-gustavo
|
8eb28e5a53
|
Merge pull request #221 from Aleph-Alpha/typelist
Introduce TypeList, always export Dependencies as well
|
2024-02-01 17:01:51 -03:00 |
|
Moritz Bischof
|
dcec4d89dd
|
introduce mutex for file exports, change array tuple limit to 64
|
2024-02-01 20:48:06 +01:00 |
|
Gustavo
|
d9464e3cec
|
Merge branch 'typelist' of github.com:Aleph-Alpha/ts-rs into typelist
|
2024-02-01 15:12:41 -03:00 |
|
Gustavo
|
3de39ab39a
|
Separate recursive exporting into mod
|
2024-02-01 15:07:55 -03:00 |
|
Moritz Bischof
|
646ccd9520
|
use stupidly large types in E2E test - maybe it fails on CI?
|
2024-02-01 18:52:33 +01:00 |
|
Moritz Bischof
|
ab569e4447
|
recursively export all dependencies
|
2024-02-01 17:58:45 +01:00 |
|
Moritz Bischof
|
2375fbf50a
|
remove old dependency implementation, fix warnings
|
2024-02-01 17:03:56 +01:00 |
|
Moritz Bischof
|
3e2b8cf095
|
fix missing import
|
2024-02-01 15:59:51 +01:00 |
|
Moritz Bischof
|
3fa1d4bec1
|
implement POC
|
2024-02-01 15:47:17 +01:00 |
|
Moritz Bischof
|
317eb9ef88
|
Merge branch 'main' into e2e
|
2024-01-31 22:28:42 +01:00 |
|
escritorio-gustavo
|
3b3fbf8a63
|
Merge pull request #174 from josema03/main
add "as" derive helper attribute
|
2024-01-31 16:18:34 -03:00 |
|
Moritz Bischof
|
fdeb8c8732
|
split CI into multiple jobs
|
2024-01-31 20:14:59 +01:00 |
|
Moritz Bischof
|
2a2d8f0429
|
add e2e tests
|
2024-01-31 20:12:03 +01:00 |
|
Moritz Bischof
|
5773e28cb6
|
fix interaction with #[ts(optional)], expand tests
|
2024-01-30 21:08:42 +01:00 |
|
escritorio-gustavo
|
50f74b51a0
|
Merge pull request #209 from escritorio-gustavo/array_as_ts_tuple
Convert fixed size Rust array to fixed size TS tuple
|
2024-01-30 16:25:18 -03:00 |
|
escritorio-gustavo
|
c7bcb73dc4
|
Use parsed_ty
|
2024-01-30 16:19:05 -03:00 |
|
escritorio-gustavo
|
c12d956db6
|
Merge branch 'main' into main
|
2024-01-30 15:36:52 -03:00 |
|
escritorio-gustavo
|
a0a3e1336a
|
Merge pull request #216 from escritorio-gustavo/inline_generics_default
Inline generics with default types works, as long as there are no trait bounds
|
2024-01-30 15:23:45 -03:00 |
|
Gustavo
|
fbead2ca56
|
Remove Temp value comment
|
2024-01-30 15:11:27 -03:00 |
|
Gustavo
|
a9ef2b1b3a
|
Make limit 128
|
2024-01-30 15:10:47 -03:00 |
|
escritorio-gustavo
|
5a5b5184c1
|
Merge pull request #213 from Aleph-Alpha/optional-nullable
Implement `#[ts(optional = nullable)]`
|
2024-01-30 15:09:14 -03:00 |
|
Gustavo
|
94bb2673f1
|
Inline generics with default types works, as long as there are no trait bounds
|
2024-01-30 14:47:58 -03:00 |
|
escritorio-gustavo
|
81f3205393
|
Merge branch 'Aleph-Alpha:main' into array_as_ts_tuple
|
2024-01-30 11:45:18 -03:00 |
|
escritorio-gustavo
|
d5d202614f
|
Apply requested changes to tuple.rs
|
2024-01-30 11:12:24 -03:00 |
|
escritorio-gustavo
|
76ea907551
|
Apply requested changes to newtype.rs
|
2024-01-30 11:11:40 -03:00 |
|
escritorio-gustavo
|
f9a7ee423a
|
Apply requested changes to named.rs
|
2024-01-30 11:08:52 -03:00 |
|
escritorio-gustavo
|
96a664a160
|
Remove duplicated check
|
2024-01-30 10:28:30 -03:00 |
|