Skip to content

Update async-graphql bounds to require 7.0.17#198

Merged
tpoliaw merged 2 commits into
mainfrom
update-async-graphql
Jun 30, 2025
Merged

Update async-graphql bounds to require 7.0.17#198
tpoliaw merged 2 commits into
mainfrom
update-async-graphql

Conversation

@ZohebShaikh

Copy link
Copy Markdown
Contributor

async-graphql had a bug in 7.0.16 which is fixed in 7.0.17. I have update this dependecy and then generate the cargo lock file using cargo generate-lockfile. I have test that the GraphiQL is working as expected.
As the lockfile is a generated file that's why it has lots of package update changes included.

ps: 7.0.17 means >=7.0.17,<8.0.0 Having the depedency on 7.0.16 would be okay as it will update to the latest which is 7.0.17 but our release process depends on the lock file so it is better to point to the version which has the fix

@ZohebShaikh ZohebShaikh requested a review from tpoliaw June 29, 2025 20:31

@ZohebShaikh ZohebShaikh left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The aforementioned issue in async-graphql has been fixed by this PR

@tpoliaw tpoliaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version of graphql being used (pinned in the lockfile) was already 7.0.17 after #187. The change to Cargo.toml to make it the minimum requirement is good, but none of the changes to the lock file here are related and probably shouldn't be in the PR.

cargo generate-lockfile updates everything to the latest version. For this change, it's probably easiest to use cargo build and it will only update the things that have changed (and need updating) in the Cargo.toml file - in this case nothing.

Renovate should open a PR tomorrow with all the patch updates (#190).

@ZohebShaikh

Copy link
Copy Markdown
Contributor Author

The other motivation for this PR was ..The https://numtracker.diamond.ac.uk/graphiql is stuck at Loading... for me So I was wondering this might fix it ...Is it just me or are you able to see the GraphIQL ?

@tpoliaw

tpoliaw commented Jun 30, 2025

Copy link
Copy Markdown
Collaborator

It should have already been fixed given we're using the new version (and it does work running locally) but the deployed version was from before the update was merged. Might be time for a 1.0.1 release.

@tpoliaw tpoliaw changed the title fix: Update async-graphql 7.0.17 and cargo lockfile Update async-graphql bounds to require 7.0.17 Jun 30, 2025
@tpoliaw tpoliaw dismissed their stale review June 30, 2025 09:54

Lockfile changes have been removed

@tpoliaw tpoliaw merged commit 3895ad7 into main Jun 30, 2025
4 checks passed
@tpoliaw tpoliaw deleted the update-async-graphql branch June 30, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants