Adrien Marquès
dfa6cba137
fix parsing primitive types instead of erroring unknown type
2020-03-02 22:45:58 +01:00
Adrien Marquès
e1cdd1c2a3
fix parsing non-string slice values
...
- only string were parsed using wrapped json
- now we also keep primitive types
2020-03-02 22:42:17 +01:00
Adrien Marquès
9bf7860dc9
[breaking] do not return first element of 1-sized slices as it, return a slice
...
continuous-integration/drone/push Build is failing
Details
- it is more consistent and does not rely of a "hidden" assomption.
- for consistency, it is also a better practice to always the same type when waiting to receive a slice ; the 1 element case should not break anything
2020-03-02 22:24:36 +01:00
Adrien Marquès
8779f9ca3a
fix returning first element of 1-sized slice instead of the slice
continuous-integration/drone/push Build is passing
Details
2020-03-02 22:20:28 +01:00
Adrien Marquès
22947db2b6
fix: mark parameter as parsed after successful parsing
...
- avoid parsing multiple times in a row ; it has no side-effect but is useless
- actually does not cause any issue, but for consistency sake!
2020-02-28 18:41:05 +01:00
Adrien Marquès
3e718c96e8
return error when parsing parameters
2020-02-28 17:50:55 +01:00
Adrien Marquès
8a1144a187
merge parseParameter
2019-11-19 16:18:27 +01:00
Adrien Marquès
189d3b40a6
fix: semantic (comments) renaming : 'controller' to 'service', more explicit names
2019-05-05 19:01:54 +02:00
Adrien Marquès
7e66b6ddd5
ref 0: big refactor of concerns between api request, server, etc
2019-05-01 13:44:45 +02:00