getDirectivesFromAttachments function
Implementation
Iterable<DirectiveNode> getDirectivesFromAttachments(
GraphQLAttachments attachments,
) {
return attachments.whereType<DirectiveNode>().followedBy(
attachments.whereType<ToDirectiveValue>().map((e) => e.directiveValue),
);
}