twenty/server
Jérémy M 629bdbbf50
feat: dynamic graphQL schema generation based on user workspace (#1725)
* wip: refacto and start creating custom resolver

* feat: findMany & findUnique of a custom entity

* feat: wip pagination

* feat: initial metadata migration

* feat: universal findAll with pagination

* fix: clean small stuff in pagination

* fix: test

* fix: miss file

* feat: rename custom into universal

* feat: create metadata schema in default database

* Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

poc: conditional schema at runtime

wip: try to create resolver in Nest.JS context

fix

* feat: wip add pg_graphql

* feat: setup pg_graphql during database init

* wip: dynamic resolver

* poc: dynamic resolver and query using pg_graphql

* feat: pg_graphql use ARG in Dockerfile

* feat: clean findMany & findOne dynamic resolver

* feat: get correct schema based on access token

* fix: remove old file

* fix: tests

* fix: better comment

* fix: e2e test not working, error format change due to yoga

* remove typeorm entity generation + fix jwt + fix search_path + remove anon

* fix conflict

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 16:27:34 +02:00
..
@types feat: implement user impersonation feature (#976) 2023-07-31 15:47:29 -07:00
patches feat: dynamic graphQL schema generation based on user workspace (#1725) 2023-09-28 16:27:34 +02:00
scripts Fix merge issue flexible backend (#1685) 2023-09-20 19:11:21 -07:00
src feat: dynamic graphQL schema generation based on user workspace (#1725) 2023-09-28 16:27:34 +02:00
test feat: dynamic graphQL schema generation based on user workspace (#1725) 2023-09-28 16:27:34 +02:00
.env.example Feat/disable flexible backend (#1673) 2023-09-20 17:25:45 -07:00
.env.test Add WSL instruction and IDE setup instruction (#1150) 2023-08-09 22:24:15 -07:00
.eslintrc.js Fix tests server 2023-09-17 08:41:46 -07:00
.gitignore Add attachments (#733) 2023-07-18 15:24:03 -07:00
.nvmrc feat: create ViewField model (#961) 2023-07-27 09:12:26 -07:00
.prettierignore Simplify local dev (#137) 2023-05-25 15:56:28 +02:00
.prettierrc Setup Nest and React projects 2022-12-01 15:58:08 +01:00
jest.config.ts feat: implement e2e test for CompanyResolver (#944) 2023-07-27 09:48:40 -07:00
nest-cli.json Setup Nest and React projects 2022-12-01 15:58:08 +01:00
package.json feat: dynamic graphQL schema generation based on user workspace (#1725) 2023-09-28 16:27:34 +02:00
tsconfig.build.json Setup Nest and React projects 2022-12-01 15:58:08 +01:00
tsconfig.json feat: implement user impersonation feature (#976) 2023-07-31 15:47:29 -07:00
yarn.lock feat: dynamic graphQL schema generation based on user workspace (#1725) 2023-09-28 16:27:34 +02:00