ignore subtypes from neo4j-graphql-js querying

This commit is contained in:
Ulf Gebhardt 2025-04-06 04:14:33 +02:00
parent b13f1ef071
commit 57257e2ee2
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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)")