<?php

declare(strict_types=1);

namespace App\Framework\GraphQL\Execution;

/**
 * Represents a parsed GraphQL query
 *
 * Simple AST representation for query execution
 */
final readonly class ParsedQuery
{
    /**
     * @param array<ParsedField> $fields
     * @param array<string, mixed> $variables
     */
    public function __construct(
        public OperationType $operationType,
        public array $fields,
        public array $variables = []
    ) {
    }
}
