简体   繁体   中英

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. 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?

TL;DR

Is relay-compiler 12 usable with graphql 16?

The answer is no, relay-compiler is not yet ready to use graphql 16.

See https://github.com/facebook/relay/issues/3622

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM