feat(*): Modules export entities and fields (#5242)
This commit is contained in:
committed by
GitHub
parent
eeceec791c
commit
130cbc1f43
@@ -19,7 +19,7 @@ import {
|
||||
import * as linkDefinitions from "../definitions"
|
||||
import { getMigration } from "../migration"
|
||||
import { InitializeModuleInjectableDependencies } from "../types"
|
||||
import { composeLinkName } from "../utils"
|
||||
import { composeLinkName, generateGraphQLSchema } from "../utils"
|
||||
import { getLinkModuleDefinition } from "./module-definition"
|
||||
|
||||
export const initialize = async (
|
||||
@@ -98,6 +98,8 @@ export const initialize = async (
|
||||
continue
|
||||
}
|
||||
|
||||
definition.schema = generateGraphQLSchema(definition, primary, foreign)
|
||||
|
||||
const moduleDefinition = getLinkModuleDefinition(
|
||||
definition,
|
||||
primary,
|
||||
|
||||
Reference in New Issue
Block a user