SIGN IN SIGN UP
FuelLabs / fuel-core UNCLAIMED

Rust full node implementation of the Fuel v2 protocol.

0 0 15 Rust

fix(graphql): pin the version of assets in the graphql playground (#2993)

## Linked Issues/PRs
<!-- List of related issues/PRs -->
playground broken across various networks due to
https://github.com/async-graphql/async-graphql/issues/1703

## Description
<!-- List of detailed changes -->
2 main things - 
- [x] we generate the html body once, and reuse it across calls to
`/v1/playground`. previously we were re-rendering the template every
time, which might not be a good solution
- [x] in the raw html generated, we pin the versions of the js and css
assets distributed by unpkg

## Checklist
- [ ] Breaking changes are clearly marked as such in the PR description
and changelog
- [ ] New behavior is reflected in tests
- [ ] [The specification](https://github.com/FuelLabs/fuel-specs/)
matches the implemented behavior (link update PR if changes are needed)

### Before requesting review
- [ ] I have reviewed the code myself
- [ ] I have created follow-up issues caused by this PR and linked them
here

### After merging, notify other teams

[Add or remove entries as needed]

- [ ] [Rust SDK](https://github.com/FuelLabs/fuels-rs/)
- [ ] [Sway compiler](https://github.com/FuelLabs/sway/)
- [ ] [Platform
documentation](https://github.com/FuelLabs/devrel-requests/issues/new?assignees=&labels=new+request&projects=&template=NEW-REQUEST.yml&title=%5BRequest%5D%3A+)
(for out-of-organization contributors, the person merging the PR will do
this)
- [ ] Someone else?

---------

Co-authored-by: Green Baneling <XgreenX9999@gmail.com>
A
Aaryamann Challani committed
e7ca966318afb2ab1de2ab3c3953b692c31a44f4
Parent: 8f66279
Committed by GitHub <noreply@github.com> on 5/20/2025, 3:40:40 PM