SetFavouriteParkPayload
Payload returned by the setFavouritePark mutation.
type SetFavouriteParkPayload {
user: User!
}
Fields
SetFavouriteParkPayload.user ● User! non-null object
The user whose favourite park was changed. Carries the new favouritePark, so a client reading
the favourite out of its cache — the landing page redirects on it — sees the park just chosen
rather than the one before it.
Returned By
setFavouritePark mutation