Nexus: Union & type issues after updating from beta-6 to rc-5

Created on 21 Nov 2019  路  6Comments  路  Source: graphql-nexus/nexus

Hey folks!

I'm trying to update from beta-6 to rc-5, and I'm now getting this type error on our unions:

image

Interestingly, if I change it to AuthenticationError.name, the type error moves on to the next member and so on until I've done them all...

I don't fully understand what's happening here, any thoughts?

Most helpful comment

Will take a look.

All 6 comments

(these members are objectTypes btw)

I get the exact same bug. It compiles just fine but VScode complains

can we have feedback on this? It prevents me from compiling my project.

Will take a look.

This should be fixed in 0.12.0-rc.6, let me know if you're still having any issues.

working good!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

santialbo picture santialbo  路  5Comments

deadcoder0904 picture deadcoder0904  路  3Comments

tl-jarvis-prestidge picture tl-jarvis-prestidge  路  7Comments

israelglar picture israelglar  路  3Comments

capaj picture capaj  路  5Comments