Add workspacePreQueryHook module (#3879)

* rebase

* reorganise messaging folders

* fix

* fix after review

* fix yarn lock
This commit is contained in:
Weiko
2024-02-13 18:23:29 +01:00
committed by GitHub
parent 36b69a8625
commit 458e8c839f
63 changed files with 494 additions and 70 deletions

View File

@ -26,6 +26,7 @@ export class WorkspaceFactory {
async createGraphQLSchema(
workspaceId: string | undefined,
userId: string | undefined,
): Promise<GraphQLSchema> {
if (!workspaceId) {
return new GraphQLSchema({});
@ -89,6 +90,7 @@ export class WorkspaceFactory {
const autoGeneratedResolvers = await this.workspaceResolverFactory.create(
workspaceId,
userId,
objectMetadataCollection,
workspaceResolverBuilderMethodNames,
);