From 57257e2ee29ee3eeefdb532bc713e68a313ca0a9 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 6 Apr 2025 04:14:33 +0200 Subject: [PATCH] ignore subtypes from neo4j-graphql-js querying --- backend/src/schema/types/type/User.gql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/schema/types/type/User.gql b/backend/src/schema/types/type/User.gql index 8d5e8bac0..3f13a0c6a 100644 --- a/backend/src/schema/types/type/User.gql +++ b/backend/src/schema/types/type/User.gql @@ -26,7 +26,7 @@ input EmailNotificationSettingsInput { type EmailNotificationSettings { type: String - settings: [EmailNotificationSettingsOption] + settings: [EmailNotificationSettingsOption] @neo4j_ignore } type EmailNotificationSettingsOption { @@ -61,7 +61,7 @@ type User { allowEmbedIframes: Boolean showShoutsPublicly: Boolean - emailNotificationSettings: [EmailNotificationSettings]! + emailNotificationSettings: [EmailNotificationSettings]! @neo4j_ignore locale: String friends: [User]! @relation(name: "FRIENDS", direction: "BOTH") friendsCount: Int! @cypher(statement: "MATCH (this)<-[:FRIENDS]->(r:User) RETURN COUNT(DISTINCT r)")