feat(flattener): allow users to flatten JSON primitive column#1071
feat(flattener): allow users to flatten JSON primitive column#1071
Conversation
| export function makeField(columnName: string, path: string, schema: ColumnSchema) { | ||
| const columnType = getValue({ [columnName]: schema.columnType }, path) as ColumnType; | ||
| export function makeField(columnName: string, path: string, baseColumnType: ColumnType) { | ||
| const columnType = getValue({ [columnName]: baseColumnType }, path) as ColumnType; |
There was a problem hiding this comment.
nice ! More understandable
| options?: FlattenJsonColumnOptions, | ||
| ): Promise<void> { | ||
| if (!options || !options.columnName) { | ||
| throw new Error('options.columnName and options.columnType are required.'); |
There was a problem hiding this comment.
Not everyone is on ts sadly :)
| * @param options.columnName The name of the column to import. | ||
| * @param options.columnType The type of the column to import. | ||
| * @param options.level The maximum level of nested fields to import. | ||
| * @param options.readonly Should the imported fields be read-only? |
There was a problem hiding this comment.
we could indicate that it is readonly false by default
There was a problem hiding this comment.
How do you imagine this?
| throw new Error('options.columnName and options.columnType are required.'); | ||
| } | ||
|
|
||
| if (!collection) throw new Error('This plugin can only be called when customizing collections.'); |
There was a problem hiding this comment.
shouldn't we also check that dataSource was provided?
There was a problem hiding this comment.
There's no dataSource in this case. 🗡️
| import flattenColumn from '../flatten-column'; | ||
|
|
||
| export type FlattenJsonColumnOptions = { | ||
| columnName: string; |
There was a problem hiding this comment.
| columnName: string; | |
| originColumnName: string; |
or
| columnName: string; | |
| jsonColumnName: string; |
There was a problem hiding this comment.
to lift the ambiguity with the targets column names
There was a problem hiding this comment.
actually baseColumnName like you used baseColumnType above is perfect
There was a problem hiding this comment.
I wanted to keep it close to the original plugin but why not.
| * @param dataSource The dataSource customizer provided by the agent. | ||
| * @param collection The collection customizer instance provided by the agent. | ||
| * @param options The options of the plugin. | ||
| * @param options.columnName The name of the column to import. |
There was a problem hiding this comment.
| * @param options.columnName The name of the column to import. | |
| * @param options.columnName The name of the json column that you want to flatten. |
| * @param collection The collection customizer instance provided by the agent. | ||
| * @param options The options of the plugin. | ||
| * @param options.columnName The name of the column to import. | ||
| * @param options.columnType The type of the column to import. |
There was a problem hiding this comment.
| * @param options.columnType The type of the column to import. | |
| * @param options.columnType a json object representing the shape of the data in the json column, with keys the column names, and values either json (to flatten further) or a primitive type (to define a column) |
1648c44 to
bfcda0a
Compare
realSpok
left a comment
There was a problem hiding this comment.
- ✅ Code review
- ✅ Use pure functions when possible
- ✅ Performance concerns
- ✅ Security concerns
- ✅ The PR tackle one subject only
- ✅ Automatic tests
- ✅ Unit tests
- ⤬ Integration tests
- ✅ Manual tests
- ✅ Test the functionality
- ✅ Test error cases
- ✅ PR title
- ✅ Destination branch
- ⤬ PR linked to the clickup task
|
Code Climate has analyzed commit 0eb7a4d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (98% is the threshold). This pull request will bring the total coverage in the repository to 97.4%. View more on Code Climate. |
# @forestadmin/plugin-flattener [1.1.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.93...@forestadmin/plugin-flattener@1.1.0) (2024-03-14) ### Features * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.5.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.7.13](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.7.12...example@1.7.13) (2024-03-19) ### Bug Fixes * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
# [1.2.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.1.9...@forestadmin/datasource-replica@1.2.0) (2024-03-19) ### Bug Fixes * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
# [1.10.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sql@1.9.5...@forestadmin/datasource-sql@1.10.0) (2024-03-19) ### Bug Fixes * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
|
🎉 This PR is included in version 1.7.13 🎉 The release is available on Your semantic-release bot 📦🚀 |
## [1.6.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongoose@1.6.5...@forestadmin/datasource-mongoose@1.6.6) (2024-03-20) ### Bug Fixes * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
|
🎉 This PR is included in version 1.6.6 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.38.8](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.38.7...@forestadmin/agent@1.38.8) (2024-04-02) ### Bug Fixes * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
# [1.8.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sequelize@1.7.1...@forestadmin/datasource-sequelize@1.8.0) (2024-04-02) ### Bug Fixes * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
# [1.26.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.25.12...@forestadmin/forestadmin-client@1.26.0) (2024-04-02) ### Bug Fixes * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
|
🎉 This PR is included in version 1.38.8 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.26.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
# [1.44.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.43.6...@forestadmin/datasource-customizer@1.44.0) (2024-04-05) ### Bug Fixes * change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0)) * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df)) * **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7)) * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
## [1.1.10](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.9...@forestadmin/datasource-dummy@1.1.10) (2024-04-05) ### Bug Fixes * change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0)) * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df)) * **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7)) * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
## [1.3.69](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.3.68...@forestadmin/plugin-aws-s3@1.3.69) (2024-04-05) ### Bug Fixes * change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0)) * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df)) * **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7)) * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
## [1.0.81](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.80...@forestadmin/plugin-export-advanced@1.0.81) (2024-04-05) ### Bug Fixes * change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0)) * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df)) * **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7)) * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
## [1.32.3](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.32.2...@forestadmin/datasource-toolkit@1.32.3) (2024-04-10) ### Bug Fixes * change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0)) * **datasource-customizer:** correct confusing type when using addExternalRelation ([#1099](#1099)) ([34e27ab](34e27ab)) * **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b)) * **forest-cloud:** display an error on upload errors ([#1098](#1098)) ([98e0710](98e0710)) * **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2)) * improve error message in the case of outdated introspection ([#1101](#1101)) ([ab1bb87](ab1bb87)) * introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31)) * mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419)) * **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc)) * **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064)) * mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00)) * replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73)) * **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be)) * **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0)) * **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df)) * **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3)) * **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb)) ### Features * **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7)) * **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276)) * **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245)) * **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13)) * **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104)) * improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7)) * list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9)) * support mongodb cloud customizations ([#1097](#1097)) ([65ce409](65ce409))
|
🎉 This PR is included in version 1.32.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
Definition of Done
General
Security