Tomaž Jerman
cf30aeb75d
Tweak logic & add base import/export test
2023-03-17 10:58:46 +01:00
Tomaž Jerman
0bfc2a7f87
Add resource skipping for store encoders
2023-03-17 10:58:46 +01:00
Tomaž Jerman
f661206a79
Tweak envoy config structs
...
Have each node define it's own configs where the decoder may
define the wanted values and the global config populates missing
values in the Bake step.
2023-03-17 10:58:46 +01:00
Tomaž Jerman
2e9ba97dda
Add missing bits from V1, slight touchup
2023-03-17 10:58:46 +01:00
Tomaž Jerman
a8b60c6525
POC exporting record datasources
2023-03-17 10:58:46 +01:00
Tomaž Jerman
25b880e049
POC importing record datasources
2023-03-17 10:58:46 +01:00
Tomaž Jerman
804d59722a
Base envoy codegen
2023-03-17 10:58:46 +01:00
Tomaž Jerman
735cb155f5
Add codegen templates for Envoy (un)marshal
2023-03-17 10:58:46 +01:00
Tomaž Jerman
7ed70a374f
Prepare codegen schema for Envoy templates
2023-03-17 10:58:45 +01:00
Tomaž Jerman
1e929210b4
Add codegen for resource value getter/setter
...
Getters and setters will be used by Envoy to update values.
Most of the getters/setters can be deducted from the model
definitions.
2023-03-17 09:27:34 +01:00
Tomaž Jerman
7c857ab183
Add (temporary) solution to MSSQL true/false representation problem
...
Passing dialect options lower so the supporting functions can prepare
proper expressions.
Might be better off defining a new nuance for this, or researching
more if I can trick goqu to do it correctly.
2022-12-14 15:47:39 +01:00
Tomaž Jerman
a026aeb790
Change state checks to use literal expressions
...
MSSQL doesn't like expressions in the lines of "column" IS @p1
which is how goqu generated the column.IsNull() part.
2022-12-14 15:47:39 +01:00
Tomaž Jerman
878e5edddb
Add support for two step DB upsert
2022-12-14 15:47:39 +01:00
Vivek Patel
79dc5b9a70
Supports coalesce sorting
...
Updated parse sorting method to support coalesce sorting with multiple columns, by extending the current sortExpr with modifier and multiple columns, IE. `coalesce` as modifier and given arguments will be multiple columns for the sortExpr.
Also, updated cursor to support modifier and multiple column support along with rdbms.go.tpl for the same.
2022-12-01 10:45:26 +01:00
Denis Arh
207f01daf5
Refresh code templates and regenerate go files
...
Mostly minor changes related to go 1.19 comment formatting.
2022-11-27 10:57:03 +01:00
Denis Arh
c966780e00
Fix import paths in templates & generated go files
2022-11-17 17:33:24 +01:00
Denis Arh
29eacc9f65
Fix import paths (corteza-server => corteza/server)
2022-11-16 16:12:58 +01:00
Corteza Monorepo Migrator
683c7c56e2
Moving server files to ./server
2022-11-14 09:26:39 +01:00