Skip to content

Commit

Permalink
Merge branch 'develop' into feat/v2-admin-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperkristensen committed May 23, 2024
2 parents d4000f8 + 9a10adf commit f368085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modules/link-modules/src/utils/generate-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}.`
)
Expand Down

0 comments on commit f368085

Please sign in to comment.