fix: Remove log for read only links (#7410)
This commit is contained in:
@@ -48,7 +48,7 @@ export function generateGraphQLSchema(
|
||||
let extendedEntityName =
|
||||
extJoinerConfig?.linkableKeys?.[extend.relationship.foreignKey]!
|
||||
|
||||
if (!extendedEntityName && (!primary || !foreign)) {
|
||||
if (!isReadOnlyLink && !extendedEntityName && (!primary || !foreign)) {
|
||||
logger.warn(
|
||||
`Link modules schema: No linkable key found for ${extend.relationship.foreignKey} on module ${extend.relationship.serviceName}.`
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user