Yaak Logo
Yaak
Feedback/Unable to disable GraphQL automatic introspection

Unable to disable GraphQL automatic introspection

Alex Thomson·a year ago
ReleasedBug

Whenever introspection fails you lose access to the menu which lets you disable automatic introspection, this is problematic when the target GraphQL server has introspection disabled as you have no way of turning it off in Yaak.

Reproduction:

  • Creating a new GraphQL request automatically fails with “Failed to parse URL "http://": invalid format“.

  • Inputting https://graphql.epicgames.com/graphql fails with a JSON response containing “GraphQL introspection is not allowed by Apollo Server“.

Suggested fixes:

  • The menu should always be accessible regardless of the introspection state.

  • Creating a new GraphQL request that has no URL shouldn’t immediately result in a introspection failure.

  • Yaak could automatically turn off automatic introspection when it detects that the target server has it disabled.

  • A global / workspace option to turn off automatic introspection so that it can be enabled as needed.

  • The error message in the dialog should be selectable and copyable and maybe a button which copies the entire message to the clipboard.

Windows2025.1.2

Comments (4)

Sign in to leave a comment.

Gregory Schier

Thanks for the detailed report! I’ve addressed this in my dev branch

Gregory Schier

Gregory Schier
Gregory Schier
Type to search feedback...