Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Add support for @defer directive #14

Open
Giorgi opened this issue Apr 28, 2021 · 0 comments
Open

Add support for @defer directive #14

Giorgi opened this issue Apr 28, 2021 · 0 comments

Comments

@Giorgi
Copy link
Owner

Giorgi commented Apr 28, 2021

As suggested in dotnet/efcore#24776 (comment) an example query could look like this:

var companySummary = spaceXContext.Company().Select(c => new
{
    Ceo = c.Ceo,
    Name = GQL.Defer(c.Name),
    Headquarters = c.Headquarters
}).ToItem();
@Giorgi Giorgi changed the title Add support for @defer directly Add support for @defer directive Apr 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant