GraphQL Directive

In laravel GraphQL, I am trying to pass result of one query to another query as an argument.

As per docs, it’s clear that I need to create @export directive. But I am not getting the logic that I need to use in export directive.

Can someone help me create @export directive in laravel GraphQL?

Is this Meteor related?

No, not yet. I am creating queries in Laravel GraphQL, then I will use meteor after completion.