Add workspacePreQueryHook module (#3879)
* rebase * reorganise messaging folders * fix * fix after review * fix yarn lock
This commit is contained in:
@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user