Removed unnecessary actor details from releases query.
This commit is contained in:
parent
191a3628b5
commit
d7ee278b02
|
@ -97,6 +97,13 @@ const actorFields = `
|
|||
${actorStashesFields}
|
||||
`;
|
||||
|
||||
const basicActorFields = `
|
||||
id
|
||||
name
|
||||
slug
|
||||
gender
|
||||
`;
|
||||
|
||||
const movieFields = `
|
||||
id
|
||||
title
|
||||
|
@ -240,6 +247,14 @@ const releaseActorsFragment = `
|
|||
}
|
||||
`;
|
||||
|
||||
const releaseBasicActorsFragment = `
|
||||
actors: releasesActors(orderBy: ACTOR_BY_ACTOR_ID__GENDER_ASC) {
|
||||
actor {
|
||||
${basicActorFields}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const releaseDirectorFragment = `
|
||||
directors: releasesDirectors(orderBy: ACTOR_BY_DIRECTOR_ID__NAME_ASC) {
|
||||
director {
|
||||
|
@ -379,7 +394,7 @@ const releaseFields = `
|
|||
createdAt
|
||||
url
|
||||
createdBatchId
|
||||
${releaseActorsFragment}
|
||||
${releaseBasicActorsFragment}
|
||||
${releaseTagsFragment}
|
||||
${releasePosterFragment}
|
||||
${releaseCoversFragment}
|
||||
|
|
Loading…
Reference in New Issue