-
Notifications
You must be signed in to change notification settings - Fork 228
update ipfs url #2047
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
base: main
Are you sure you want to change the base?
update ipfs url #2047
Conversation
|
Deploying graph-tooling with
|
Latest commit: |
ea0e916
|
Status: | ✅ Deploy successful! |
Preview URL: | https://888fca4f.graph-tooling.pages.dev |
Branch Preview URL: | https://update-ipfs-url.graph-tooling.pages.dev |
Looks like we'll also need to update the tests at . |
I reverted my changes to the test cases. But after reading what's going on there I'm confused. This should not be a thing in the first place. Why would we magically rewrite some URLs and others not based on whether there's certain path segments in there or not. That seems like a recipe for disaster / confusion. Just expect users to configure the right URL imo :-P |
Ok.... Instead of just changing the URLs here, what we should really do is:
Validation logic:
This is not going to resolve the problem for users who won't upgrade their graph-cli dependency though, so we'll have to continue to support the legacy URLs for a while. Who can tackle this? @YaroShkvorets? :-) |
Sorry out of the loop here. You are deprecating old E&N IPFS endpoints replacing them with So you want the logic to be
|
Yeah. Exactly that. And no magic path substition logic (imo). That's a recipe for disaster. Let's use the new one by default (not make it required). |
No description provided.