[英]relay-compiler 12 + graphql 16 = Invalid AST Node
I have a react / express / postgraphile / relay project and recently upgraded all my packages to the latest to see what would break.我有一个 react/express/postgraphile/relay 项目,最近将我所有的包都升级到最新的,看看会有什么问题。 I got through most bugs except this relay-compiler error
Invalid AST Node
which seems to be related to graphql 16. I down graded to v15 and everything works now, but I'm just curious if the bad blood is between relay-compiler and graphql or maybe in how postgraphile is generating my schema.sql?我解决了大多数错误,除了这个中继编译器错误
Invalid AST Node
似乎与 graphql 16 相关。我降级到 v15,现在一切正常,但我只是好奇中继编译器和 graphql 之间是否存在问题或者也许在 postgraphile 是如何生成我的 schema.sql 的?
TL;DR TL; 博士
Is relay-compiler 12 usable with graphql 16?中继编译器 12 是否可以与 graphql 16 一起使用?
The answer is no, relay-compiler is not yet ready to use graphql 16.答案是否定的,relay-compiler 还没有准备好使用 graphql 16。
See https://github.com/facebook/relay/issues/3622见https://github.com/facebook/relay/issues/3622
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.