Clean up GraphQL explorer

This commit is contained in:
Gregory Schier
2025-07-08 07:44:50 -07:00
parent 6c0f9377cd
commit a3f50a2bb7
6 changed files with 220 additions and 174 deletions

View File

@@ -125,3 +125,8 @@ export function useIntrospectGraphQL(
return { schema, isLoading, error, refetch, clear };
}
export function useCurrentGraphQLSchema(request: HttpRequest) {
const { schema } = useIntrospectGraphQL(request, { disabled: true });
return schema;
}