Suppose we have created two users in Hypi with the id 1 and 2. Now I want to set user 1 as a friend with user 2. How can I achieve it?
User Schema:
type User {
user: Account!
followedBy: [User!]
friends: [User!]
following: [User!]
groups: [UserGroup!]
}