OMGeeky
|
cb1422fc19
|
Merge remote-tracking branch 'origin/scope-derives-make' into scope-derives-make
# Conflicts:
# src/generator/templates/api/lib/enum.mako
|
2024-05-18 17:46:11 +02:00 |
|
OMGeeky
|
ba42c83516
|
make regen-apis
|
2024-05-18 17:45:19 +02:00 |
|
OMGeeky
|
92ad312680
|
improve some names
|
2024-05-18 17:45:00 +02:00 |
|
OMGeeky
|
ad07a13110
|
make cargo doc a bit happier about links
|
2024-05-18 17:43:16 +02:00 |
|
OMGeeky
|
56643c8bde
|
improve enum docs
|
2024-05-18 17:42:26 +02:00 |
|
OMGeeky
|
ef00af9d13
|
fix one problem in the CLIs that try to use enums
|
2024-05-18 14:45:59 +02:00 |
|
OMGeeky
|
f1a5835563
|
add bigtableadmin2 to blacklist because of recursive type
|
2024-05-18 13:50:29 +02:00 |
|
OMGeeky
|
c04fa3f800
|
fix error where default for enum was not properly detected
|
2024-05-18 00:48:47 +02:00 |
|
OMGeeky
|
cb7d92a714
|
put module api in api.rs like before instead of api/mod.rs
This is needed since some builds do not remove old files and then cargo doesn't know which one to use. (for example GitHub-Actions)
|
2024-05-18 00:22:20 +02:00 |
|
OMGeeky
|
88d8495bbe
|
remove ambiguity in TryFrom implementation
|
2024-05-18 00:09:50 +02:00 |
|
OMGeeky
|
8a2a910520
|
remove ambiguity in TryFrom implementation
|
2024-05-18 00:09:36 +02:00 |
|
OMGeeky
|
ebeaa8fbc0
|
remove writing file from test that was probably only a temporary debug aid
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
8d31ba525f
|
Use DictObject in tests
(copied version from `mako-render`)
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
ccdd6f52e0
|
Revert "Reapply "fix dict access errors while running test""
This reverts commit b9b8cec7d0.
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
a1e9e4ba94
|
fix enum type not being wrapped as Vec if repeated
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
e7fd8e36b7
|
correctly handle multiline descriptions for enums
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
85b2802dac
|
fix usage
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
5018dd9848
|
Reapply "fix dict access errors while running test"
This reverts commit 2d9be85963.
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
685aacb2f9
|
fix build error: TypeError: 'DictObject' object is not callable
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
19e8c54fb0
|
Revert "fix dict access errors while running test"
This reverts commit c4c38e927f.
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
d3412e25ef
|
fix dict access errors while running test
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
ef4febf581
|
cleanup some old stuff
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
b8ab032afc
|
remove leftover print
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-17 23:59:53 +02:00 |
|
OMGeeky
|
12d2398678
|
remove writing file from test that was probably only a temporary debug aid
|
2024-05-17 23:54:42 +02:00 |
|
OMGeeky
|
cb9d6ade4f
|
Use DictObject in tests
(copied version from `mako-render`)
|
2024-05-17 23:50:04 +02:00 |
|
OMGeeky
|
006ce5781e
|
Revert "Reapply "fix dict access errors while running test""
This reverts commit b9b8cec7d0.
|
2024-05-17 23:47:55 +02:00 |
|
OMGeeky
|
3455436f0c
|
fix enum type not being wrapped as Vec if repeated
|
2024-05-17 23:41:00 +02:00 |
|
OMGeeky
|
51728ff5d7
|
correctly handle multiline descriptions for enums
|
2024-05-16 23:59:32 +02:00 |
|
OMGeeky
|
488c81a0af
|
fix usage
|
2024-05-16 23:59:31 +02:00 |
|
OMGeeky
|
b9b8cec7d0
|
Reapply "fix dict access errors while running test"
This reverts commit 2d9be85963.
|
2024-05-16 23:30:36 +02:00 |
|
OMGeeky
|
04845a8f46
|
fix build error: TypeError: 'DictObject' object is not callable
|
2024-05-16 23:21:53 +02:00 |
|
OMGeeky
|
2d9be85963
|
Revert "fix dict access errors while running test"
This reverts commit c4c38e927f.
|
2024-05-16 22:55:34 +02:00 |
|
OMGeeky
|
c4c38e927f
|
fix dict access errors while running test
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:47:06 +02:00 |
|
OMGeeky
|
3b667bb89b
|
cleanup some old stuff
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:46:02 +02:00 |
|
OMGeeky
|
f528cb9c2c
|
remove leftover print
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:28:08 +02:00 |
|
OMGeeky
|
ad85cafeef
|
make regen-apis
|
2024-05-16 21:23:40 +02:00 |
|
OMGeeky
|
52d2e89e51
|
reposition doc usage to better fit other usages
|
2024-05-16 19:40:57 +02:00 |
|
OMGeeky
|
0f1e01363c
|
add regions around enums for better overview
|
2024-05-16 19:29:32 +02:00 |
|
OMGeeky
|
e7cce53a51
|
add use for all enums to make the docs build
I got no Idea if there is a better way to do this without importing all the enums but since it is only the docs I think it's fine.
|
2024-05-16 19:27:34 +02:00 |
|
OMGeeky
|
3e27f63739
|
generate random values in documentation correctly
|
2024-05-16 19:20:28 +02:00 |
|
OMGeeky
|
5dd05e4ee4
|
fix enums not finding nested variants etc
|
2024-05-15 00:55:15 +02:00 |
|
OMGeeky
|
b6c063a854
|
fix some enums getting wrong names
(some were way too long)
|
2024-05-15 00:24:23 +02:00 |
|
OMGeeky
|
d1d2e9937c
|
remove changes to gen
|
2024-05-13 19:25:02 +02:00 |
|
OMGeeky
|
3092fef613
|
add comment
|
2024-05-13 19:24:28 +02:00 |
|
OMGeeky
|
d9a7fcc946
|
fix conflicting implementation error for TryFrom
(basically don't use generic, since blanket implementations make it impossible to not have conflicts)
|
2024-05-13 18:46:24 +02:00 |
|
OMGeeky
|
97198260a0
|
add impl to try to convert strings into the enum
|
2024-05-13 18:30:08 +02:00 |
|
OMGeeky
|
e8e1722294
|
fix wrong value for enums
|
2024-05-13 18:29:36 +02:00 |
|
OMGeeky
|
41049ede1a
|
implement workaround for status singular mistake
|
2024-05-13 18:29:02 +02:00 |
|
OMGeeky
|
d39652dc0b
|
add test for wrong name
(this test currently fails and should be fixed at some point)
|
2024-05-13 00:05:35 +02:00 |
|
OMGeeky
|
5bfd23d73e
|
fix some errors where some stuff does not exist
all apis libs build now
|
2024-05-12 23:56:24 +02:00 |
|