Commit Graph
520 Commits
Author SHA1 Message Date
Moritz Bischof ed397dad28 Add tests for all impl_shadow! types 2024-02-29 15:59:36 +01:00
escritorio-gustavo 22a8edc5c2 Remove ts(export) from self referential internally tagged enum 2024-02-29 11:38:14 -03:00
Moritz Bischof 6e0957148c self_referential.rs: Rename types to unique names 2024-02-29 15:19:09 +01:00
Moritz Bischof 8ea5cf03d5 Revert "self_referential.rs: Do not rename types"
This reverts commit f4572ea94d.
2024-02-29 15:16:56 +01:00
Moritz Bischof cf01efc2cd Merge remote-tracking branch 'origin/type-params-are-not-imported' into type-params-are-not-imported 2024-02-29 15:15:09 +01:00
Moritz Bischof f4572ea94d self_referential.rs: Do not rename types 2024-02-29 15:14:59 +01:00
Gustavo 0367a6b573 Merge branch 'type-params-are-not-imported' of github.com:Aleph-Alpha/ts-rs into type-params-are-not-imported 2024-02-29 11:05:31 -03:00
escritorio-gustavo e179efb58e Update changelog 2024-02-29 11:03:13 -03:00
Moritz Bischof f4da385ff0 enable globstar in CI 2024-02-29 14:54:24 +01:00
escritorio-gustavo 1da87b5e72 Fix remaining dependency issues 2024-02-29 10:38:04 -03:00
Gustavo 7bc2c87cb1 Update CI to run tsc 2024-02-29 10:16:23 -03:00
Gustavo fe5b375dc3 cargo fmt 2024-02-29 10:13:18 -03:00
Gustavo 3eda16fff9 Fix issue-70 test to generate valid TS 2024-02-29 09:53:35 -03:00
Gustavo a0cee6c480 Fix imports test to work with all features 2024-02-29 09:39:11 -03:00
Gustavo 75d2b7d38e Fix usage of serde(skip) again... 2024-02-29 09:09:16 -03:00
Gustavo 67fe641aeb Fix usage of serde(skip) 2024-02-29 09:05:12 -03:00
Gustavo ffa5113a98 Separatly update raw_idents as it would panic 2024-02-29 09:00:52 -03:00
Gustavo 4aab519835 Update tests to use ts(export) except raw_idents 2024-02-29 09:00:08 -03:00
Gustavo 2506ff5d70 Improve atribute parse compiler error 2024-02-27 08:31:46 -03:00
Gustavo 02f47b8866 cargo +nightly fmt 2024-02-26 11:03:32 -03:00
Gustavo 8659267062 Merge branch 'type-params-are-not-imported' of github.com:Aleph-Alpha/ts-rs into type-params-are-not-imported 2024-02-26 11:02:41 -03:00
Gustavo 438b2ff24c cargo +nightly fmt 2024-02-26 09:26:55 -03:00
Moritz Bischof f9bba02cc7 rename TS::Generics to TS::WithoutGenerics 2024-02-23 17:03:53 +01:00
Moritz Bischof c24107c91d fix tests 2024-02-23 16:02:14 +01:00
Moritz Bischof 90439610c7 add test for #168 and #232, expand e2e dependencies test 2024-02-23 15:52:55 +01:00
Gustavo 2b7d25bae1 Proposed fix for Vec, HashMap, Option and Result 2024-02-23 09:35:27 -03:00
Gustavo 1ae0341360 Add T to impl_wrapper! generics method 2024-02-23 09:03:02 -03:00
Gustavo 90ca381ccc Add TS::Generics to chrono types 2024-02-23 08:50:47 -03:00
Gustavo ee733be294 Implement TS::Generics 2024-02-23 08:45:39 -03:00
Moritz Bischof 8c9c2e438a fix CI for example 2024-02-22 20:24:06 +01:00
Moritz Bischof 9a385d29ce adjust impl_wrapper!, fix clippy warning 2024-02-22 20:23:26 +01:00
Moritz Bischof 44998d4f92 implement proposed fix 2024-02-22 19:53:06 +01:00
Moritz Bischof 622afa8ec1 reproduce in E2E test, run example during CI 2024-02-22 19:13:40 +01:00
escritorio-gustavo 4c3349c5aa Merge pull request #233 from Aleph-Alpha/bug/flatten-generic-enum
Bug: Flattening generic type also flattens all generic parameters
2024-02-22 09:30:12 -03:00
Gustavo 01615feb3a Replace if Some else None with bool::then 2024-02-21 14:59:00 -03:00
Gustavo 247276a2fd Remove redundant #[doc(hidden)] 2024-02-19 11:59:47 -03:00
Gustavo 3606c489d8 Merge branch 'main' into bug/flatten-generic-enum 2024-02-19 11:56:39 -03:00
escritorio-gustavo 1d6eec7b35 Merge pull request #237 from Aleph-Alpha/use-resolver-2
Use `workspace.resolver = "2"`
2024-02-19 11:56:34 -03:00
escritorio-gustavo df25d5b8d8 Use workspace.resolver = "2"
We have a compiler warning about the version of the resolver being in conflict with the rust edition of the library
2024-02-19 11:50:58 -03:00
Gustavo 268742d479 Fix inverted condition and separate the two checks 2024-02-19 11:43:52 -03:00
Gustavo 3354dc744c Remove unused Option 2024-02-19 11:43:18 -03:00
Gustavo 6d9a21f43c Remove redundant clones 2024-02-19 11:42:40 -03:00
Gustavo b4f6b01b21 Prefer renaming Enum to using all variants 2024-02-19 10:56:59 -03:00
Gustavo bdb06d4b67 use TS::ident 2024-02-16 11:26:00 -03:00
Gustavo a693b60683 use DerivedTS::ts_name instead of rust_ty 2024-02-16 11:21:55 -03:00
Gustavo bae3df8a9b Add dummy type to allow exporting types that use ToString as a generic trait bound 2024-02-16 11:17:43 -03:00
Gustavo 3e31a3a95a Add ident method 2024-02-16 11:02:00 -03:00
Gustavo 5ab4aa9d7c Use type_params to simplify capture of Generics' identifiers 2024-02-16 08:57:42 -03:00
Moritz Bischof 2b5b9a9e30 remove "limitations" section from readme - both #56 and #70 are fixed 2024-02-16 11:38:13 +01:00
Moritz Bischof 0a68cef24b remove TODO about #56 - already fixed 2024-02-16 11:36:09 +01:00