1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-19 07:45:17 +00:00
harbour-sailfin/core/codegen
Chris Josten 90db983c30 Replace not-fully-initializing DTO constructors
There were some constructors in the DTOs which allowed construction of
DTO which weren't fully initialized. These constructors have been made
private, as they are still used in the 'fromJson' methods. Additionally,
a constructor with all required parameters to fully initialize the
class has been added.

Additionally, the Loader class has been modified, since it no longer can
assume it is able to default construct the parameter type. The parameter
is now stored as an optional.

Closes #15
2021-09-25 17:07:12 +02:00
..
enum_header.hbs WIP: HttpLoader seems to work, Model still borked 2021-03-28 04:00:00 +02:00
enum_implementation.hbs WIP: HttpLoader seems to work, Model still borked 2021-03-28 04:00:00 +02:00
loader_header.hbs Refractor ApiClient and add support for body params 2021-09-03 03:47:25 +02:00
loader_implementation.hbs Refractor ApiClient and add support for body params 2021-09-03 03:47:25 +02:00
loader_types_header.hbs Refractor ApiClient and add support for body params 2021-09-03 03:47:25 +02:00
loader_types_header_getters_setters.hbs WIP: logic rewrite 2021-03-24 20:04:03 +01:00
loader_types_implementation.hbs WIP: Refractor C++-side. Loader should be working again 2021-03-25 17:45:53 +01:00
object_header.hbs Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
object_implementation.hbs Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00