feat: deprecate remote link (#10768)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
parent
1e6d56bc18
commit
bbf790ea44
@@ -33,7 +33,7 @@ import {
|
||||
ModuleBootstrapOptions,
|
||||
RegisterModuleJoinerConfig,
|
||||
} from "./medusa-module"
|
||||
import { RemoteLink } from "./remote-link"
|
||||
import { Link } from "./link"
|
||||
import { createQuery, RemoteQuery } from "./remote-query"
|
||||
import { MODULE_SCOPE } from "./types"
|
||||
|
||||
@@ -210,7 +210,7 @@ async function initializeLinks({
|
||||
)
|
||||
|
||||
return {
|
||||
remoteLink: new RemoteLink(),
|
||||
remoteLink: new Link(),
|
||||
linkResolution,
|
||||
getMigrationPlanner,
|
||||
}
|
||||
@@ -261,7 +261,7 @@ function registerCustomJoinerConfigs(servicesConfig: ModuleJoinerConfig[]) {
|
||||
|
||||
export type MedusaAppOutput = {
|
||||
modules: Record<string, LoadedModule | LoadedModule[]>
|
||||
link: RemoteLink | undefined
|
||||
link: Link | undefined
|
||||
query: RemoteQueryFunction
|
||||
entitiesMap?: Record<string, any>
|
||||
gqlSchema?: GraphQLUtils.GraphQLSchema
|
||||
|
||||
Reference in New Issue
Block a user