• 01-Jan-2023
Lightrun Team
Author Lightrun Team
Share
This is a glossary of all the common issues in Apollo GraphQL - Apollo Tooling

Troubleshooting Common Issues in Apollo GraphQL – Apollo Tooling

Lightrun Team
Lightrun Team
01-Jan-2023

Project Description

 

Apollo Tooling is a set of tools and libraries that are built on top of Apollo GraphQL. It includes the following components:

    1. Apollo Boost: A zero-configuration, opinionated GraphQL client that includes the most commonly used features of Apollo Client.
    2. Apollo CLI: A command-line tool for generating GraphQL code and for working with GraphQL servers.
    3. Apollo Studio: A cloud-based platform for managing and optimizing GraphQL APIs.

 

Troubleshooting Apollo GraphQL – Apollo Tooling with the Lightrun Developer Observability Platform

 

Getting a sense of what’s actually happening inside a live application is a frustrating experience, one that relies mostly on querying and observing whatever logs were written during development.
Lightrun is a Developer Observability Platform, allowing developers to add telemetry to live applications in real-time, on-demand, and right from the IDE.
  • Instantly add logs to, set metrics in, and take snapshots of live applications
  • Insights delivered straight to your IDE or CLI
  • Works where you do: dev, QA, staging, CI/CD, and production

The most common issues for Apollo GraphQL – Apollo Tooling are:

 

Codegen collaboration with Apollo Codegen and GraphQL Code Generator

 

To further optimize user experience, developers can explore the Apollo Option of –passthroughCustomScalars. Adding a scalar key to  codegen.yml file will enable users to capitalize on its full potential and enhance their project created with Codegen!

config:
  scalars:
    DateTime: string
    Float: number
    ...

 

VS Code extension self signed certificate error

 

If you’re using the Apollo Tooling extension for Visual Studio Code and you’re seeing an error about a self-signed certificate, it means that the extension is unable to establish a secure connection to the Apollo Studio API due to an issue with the certificate.

There are a few things you can try to fix this issue:

  1. Check the date and time on your computer. If the date and time are incorrect, it can cause issues with SSL certificates.
  2. Check your network connection. If you’re on a corporate network, there may be a firewall or proxy that is blocking the connection to the Apollo Studio API.
  3. If you’re running the Apollo Studio API locally, make sure that you’re using a trusted SSL certificate. You can use a tool like OpenSSL to generate a self-signed certificate.

 

More issues from Apollo GraphQL repos

 

Troubleshooting apollo-graphql-apollo-client | Troubleshooting apollo-graphql-graphql-subscriptions

Share

It’s Really not that Complicated.

You can actually understand what’s going on inside your live applications. It’s a registration form away.

Get Lightrun

Lets Talk!

Looking for more information about Lightrun and debugging?
We’d love to hear from you!
Drop us a line and we’ll get back to you shortly.

By submitting this form, I agree to Lightrun’s Privacy Policy and Terms of Use.