You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you don't want to add another check, i'll investigate further. this might be a bug or conflict related to core-js...
@jaynetics Proposed check doesn't add too much complexity so I don't have a problem merging it if Symbol.for is really missing in some environments.
That said I think it's important to understand the root cause of this issue and document it in the source code.
Can you please investigate root cause?
is it feasible to add another check,
typeof Symbol.for === 'function'
to nodejsCustomInspectSymbol?we get some cases of
TypeError: undefined is not a function
originating from https://github.com/graphql/graphql-js/blob/master/src/jsutils/nodejsCustomInspectSymbol.js#L5in other words: there are cases were
Symbol
is afunction
, butSymbol.for
isundefined
:~(unfortunately i have no idea how this can happen and no idea how to reproduce. we use core-js and no other polyfills.
interestingly, the bug only occurs exclusively in a few user agents:
if you don't want to add another check, i'll investigate further. this might be a bug or conflict related to core-js...
The text was updated successfully, but these errors were encountered: