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

关于egg-graphql的 Schema 批量,带有依赖的查询 #2336

Closed
zimo888 opened this issue Apr 7, 2018 · 3 comments
Closed

关于egg-graphql的 Schema 批量,带有依赖的查询 #2336

zimo888 opened this issue Apr 7, 2018 · 3 comments

Comments

@zimo888
Copy link

zimo888 commented Apr 7, 2018

graphql/graphql-spec#377

query A {
    hero 
    {
        id @export(as:"droidId")
        name 
        friends  @export(as:"r2d2Friends") 
        {
            name @export(as:"friendNames")
        }
    }
}
        
query B($droidId : String!) {
    droid (id : $droidId ) {
        name
    }
}

我觉得实现一个查询有依赖关系的@export很有意义啊,用directive 能不能实现export 呢?

@egg-bot
Copy link

egg-bot commented Apr 24, 2019

Hello @zimo888. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@zimo888,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

@popomore
Copy link
Member

如果 apollo 支持就是支持的

@egg-bot
Copy link

egg-bot commented May 2, 2019

This issue is closed because it has been marked as Need Reproduce, but has not had recent activity.
If you can provide a reproduce, feel free to ping anyone of our maintainers to reopen this issue.
Thank you for your contributions.

@egg-bot egg-bot closed this as completed May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants