mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -1152,7 +1152,7 @@ export class GraphQLService {
|
||||
}
|
||||
|
||||
// Nested relational fields can also contain fragments
|
||||
if (selection.kind === 'Field' && selection.selectionSet) {
|
||||
if ((selection.kind === 'Field' || selection.kind === 'InlineFragment') && selection.selectionSet) {
|
||||
selection.selectionSet.selections = this.replaceFragmentsInSelections(
|
||||
selection.selectionSet.selections,
|
||||
fragments
|
||||
|
||||
Reference in New Issue
Block a user