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

Bundle roundtrips without using fragmentRefs #23

Open
waldogit opened this issue Aug 18, 2020 · 1 comment
Open

Bundle roundtrips without using fragmentRefs #23

waldogit opened this issue Aug 18, 2020 · 1 comment

Comments

@waldogit
Copy link

In this fork (https://github.com/waldogit/relay-angular-config) of your example I added a 'combine' action that shows the 'Yours' todos together with a selected todo of 'Me'.
However: pressing the 'Combine' leads to 2 roundtrips, one for the combinedQuery and one for the todoQueryQuery. How can they be bundled into a single roundtrip?

In this case, I could have used a fragmentRef to solve that issue, but suppose - as a thought experiment - I don't have that fragmentRef, I only know the todo.id ? Afaik, I need to use a fragment with argument definitions for this, but although relay provides that, it is not available through relay-angular.

@morrys
Copy link
Owner

morrys commented Aug 19, 2020

Why do you say @argumentdefinitions is not supported in relay-angular?
Relay-angular fully supports relay as these logics are present within the relay-runtime / relay-compiler libraries on which it depends.

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

No branches or pull requests

2 participants