GraphQL: Object doesn't support property or method 'from'

From: https://github.com/graphql/graphiql/issues/688 

 

psyCodelist commented 11 days ago

Hi,

Thank you in advance. Just wanted to let you know the the web interface not working on ie11.

looks like we need add Array.from polyfill: err: Object doesn't support property or method 'from'

Thanks again,

 
 
@kumarharsh
 

kumarharsh commented 7 days ago

The best way to fix this is to use babel-polyfill in your code or bundle the Array.frmo polyfill with your codebase.

 
@psyCodelist
 

psyCodelist commented 7 days ago

Thanks for the note, but graphiql UI code has nothing to do with our UI code base. We use poly-fill but again 2 different codebase.

 
@kumarharsh
 

kumarharsh commented 6 days ago

You would be bundling the graphiql lib somehow. Just load the array polyfill too.

你可能感兴趣的:(GraphQL: Object doesn't support property or method 'from')