Issues on ES5 with babel polyfill (AsyncGenerator has no Symbol.asyncIterator) #2960
-
On ES5 environments, merging Schemas and Resolvers via the Or when I am running locally with the https://github.com/svaarala/duktape js engine.
This is not due to a bug in the GraphQL tools, but a lack of functionality in the babel polyfill that is required to run in ES5 environments. Reference to the underlying issue in babel: I did not mark this as a 'bug' as these tools do not advertise ES5-friendliness, however, if there were any known work-arounds then that would be greatly appreciated! Switching to an ES6 environment is not currently possible for my project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can polyfill it by yourself, maybe? |
Beta Was this translation helpful? Give feedback.
You can polyfill it by yourself, maybe?
See https://www.npmjs.com/package/iterator-polyfill