Skip to content

Bundle roundtrips without using fragmentRefs #23

@waldogit

Description

@waldogit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions