Fix apollo cache bugs with identity creation/edition/deletion

Closes #798

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-08-05 15:49:54 +02:00
parent 51cd066a14
commit 5bcf8a2305
2 changed files with 49 additions and 17 deletions

View File

@@ -117,6 +117,19 @@ export const GET_PERSON = gql`
}
`;
export const PERSON_FRAGMENT = gql`
fragment PersonFragment on Person {
id
avatar {
id
url
}
type
preferredUsername
name
}
`;
export const LIST_PROFILES = gql`
query ListProfiles(
$preferredUsername: String