Commit eb41605
committed
bug: postgresql - clients types converting
- removed monolithic ArrayConverter in favor of type-specific
converters
- added BoolArrayConverter for PostgreSQL BOOL[] type
- added IntArrayConverter for PostgreSQL INT2[], INT4[], INT8[] types
- added FloatArrayConverter for PostgreSQL FLOAT4[], FLOAT8[] types
- added TextArrayConverter for PostgreSQL TEXT[], VARCHAR[] types
- added UuidArrayConverter for PostgreSQL UUID[] type
- added JsonArrayConverter for PostgreSQL JSON[], JSONB[] types
- changed array converters to throw ValueConversionException for
invalid element types instead of silently converting
- added unit tests for each new array converter
- removed old ArrayConverterTest.php (unit and integration)
- changed ValueConverters.php to register 6 type-specific array
converters
- added "Array Types" section to
documentation/components/libs/postgresql.md
- changed documentation/components/libs/postgresql/client-types.md to
document array converter validation behavior
- fixed syntax highlighing on website
- removed symfony/polyfill-83 dependency1 parent 206e425 commit eb41605
File tree
90 files changed
+2412
-1454
lines changed- documentation/components/libs
- postgresql
- src
- core/etl
- lib
- postgresql
- src/Flow/PostgreSql
- AST
- Nodes
- Transformers
- Client
- Exception
- Infrastructure/PgSql
- Types
- Converter
- DSL
- QueryBuilder/Merge
- tests/Flow/PostgreSql/Tests
- Integration/Client
- Types/Converter
- Unit/Client
- RowMapper
- Types
- Converter
- types
- tools
- cs-fixer
- infection
- web/landing
- resources
- src/Flow/Website/Service/Markdown
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
90 files changed
+2412
-1454
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
309 | 335 | | |
310 | 336 | | |
311 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
Lines changed: 222 additions & 113 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | 41 | | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 213 | + | |
216 | 214 | | |
217 | 215 | | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
0 commit comments