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

cli: add derived loader #1190

Closed
wants to merge 1 commit into from

Conversation

gusinacio
Copy link
Contributor

This is the continuation of the PR graphprotocol/graph-node#4434 and is related to graphprotocol/graph-node#4004

Thanks to @poonai for part of the code from #977.

What does this PR do?

  • adds loadRelated(entity, id, field) to the host
  • creates a <Entity>Loader generator for accessing load() in a more explicit way
  • fix the tests related to derived fields

@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2023

⚠️ No Changeset found

Latest commit: 2db3719

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@azf20
Copy link
Contributor

azf20 commented Mar 31, 2023

hey @flametuner checking in on this, @saihaj this is complementary to some exciting new Graph Node functionality (graphprotocol/graph-node#4434) so would be great to get this over the line!

@saihaj saihaj self-assigned this Apr 18, 2023
@neysofu
Copy link
Member

neysofu commented May 3, 2023

This feature will be shipped in graph-node v0.31.0, but I'm omitting it from the release notes because it's not usable without this PR. Making a note here so we'll remember to announce it in v0.32.0.

cc @incrypto32

@incrypto32 incrypto32 mentioned this pull request May 4, 2023
@azf20
Copy link
Contributor

azf20 commented May 5, 2023

Thanks @flametuner - closing in favour of #1340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants