egg
egg copied to clipboard
关于egg-graphql的 Schema 批量,带有依赖的查询
https://github.com/facebook/graphql/issues/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 呢?
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 天内没有进展会被自动关闭。
如果 apollo 支持就是支持的
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.