mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
add notVisibleFor statement
This commit is contained in:
parent
1870efc3d0
commit
5f4d7c2bf3
@ -170,6 +170,7 @@ type Post {
|
||||
@cypher(statement: "MATCH (this)<-[emoted:EMOTED]-(:User) RETURN COUNT(DISTINCT emoted)")
|
||||
|
||||
group: Group @relation(name: "IN", direction: "OUT")
|
||||
notVisibleFor: [User]! @cypher("MATCH (this)<-[:CANNOT_SEE]-(user:User) RETURN user")
|
||||
}
|
||||
|
||||
input _PostInput {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user