Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk-core][fix] lowecase subgraph argument when address #1933

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

kasparkallas
Copy link
Contributor

@kasparkallas kasparkallas commented Apr 23, 2024

Why?
The behaviour used to be query.id.toLowerCase() (removed only in the dev-branch) without the address check but that caused issues with some Subgraph IDs that had both lowercase and uppercase letter in the ID. When the ID is an address, that's always lowercase though.

Copy link

Changelog Reminder

Reminder to update the CHANGELOG.md for any of the modified packages in this PR.

  • CHANGELOG.md modified
  • Double check before merge

@hellwolf
Copy link
Contributor

suspicious ..

@kasparkallas kasparkallas enabled auto-merge April 23, 2024 11:17
@kasparkallas kasparkallas added this pull request to the merge queue Apr 23, 2024
Merged via the queue into dev with commit c108801 Apr 23, 2024
16 checks passed
@kasparkallas kasparkallas deleted the sdk-core-lowercase-if-address branch April 23, 2024 11:43
Copy link

XKCD Comic Relif

Link: https://xkcd.com/1933
https://xkcd.com/1933

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