Skip to content

Do not store GraphQL Introspection in LocalStorage #6207

@reggermont

Description

@reggermont

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

This feature

  • blocks me from using Bruno
  • would improve my quality of life in Bruno
  • is something I've never seen an API client do before

Describe the feature you want to add, and how it would change your usage of Bruno

LocalStorage has a limitation of 52MB, being enough in 99% of use cases.

Of course, I have to speak for the 1% 😄

Working with very big PaaS (like SalesForce), on different environments, can lead to reach those 52MB and Bruno will display an error without updating the Introspection

Failed to execute 'setItem' on 'Storage': Setting the value of 'bruno.graphqlSchema.1axizkg' exceeded the quota.

A temporary solution is to clean the localStorage, but at some point it'll reach the limit again:

  • Ctrl + Maj + I (or View --> Toggle Developer Tools)
  • On the console, run localStorage.clear();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions