[QA] Extend API fabricator to detect GraphQL

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

From !39266 (merged) :

  • @ddavison started a discussion:

    This is a fine first iteration.

    For future iterations, we should think of doing something like:

      class SomeResource
        extend GraphQLResource
    
        ...
      end

    Then we could have the api_fabricator detect if it's a graphql-enabled resource, then provide a lot more context and actions as to what you could do with graphql resources

Perhaps this isn't necessary at all, but it could potentially allow for more options especially with mutations.

Edited by 🤖 GitLab Bot 🤖