Fix GraphQL cache errors because of missing id on some queries

Also moves some queries to cache-and-network policy and improve
typescript a bit

Closes #387

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-21 12:14:53 +02:00
parent f05e26e28a
commit ae027b4e39
11 changed files with 29 additions and 41 deletions

View File

@@ -142,6 +142,7 @@ export const FETCH_EVENT = gql`
${tagsQuery}
},
relatedEvents {
id
uuid,
title,
beginsOn,
@@ -150,9 +151,11 @@ export const FETCH_EVENT = gql`
url
}
physicalAddress {
id
description
},
organizerActor {
id
avatar {
url,
},