Extracts a concise operation name from a GraphQL document without full AST parsing.
Returns the named operation's identifier (e.g., RunMJUsersViewByName), or for
anonymous operations { ... } returns the first top-level selection field name,
falling back to 'Anonymous'.
Extracts a concise operation name from a GraphQL document without full AST parsing. Returns the named operation's identifier (e.g.,
RunMJUsersViewByName), or for anonymous operations{ ... }returns the first top-level selection field name, falling back to'Anonymous'.