Skip to content

Cannot read property 'defineProperty' of undefined #2818

Answered by ardatan
gradisarjoze asked this question in Q&A
Discussion options

You must be logged in to vote

I think Stripe has an enum type called Object so this conflicts with the JavaScript's Object. So as a workaround, you can use rename transform to rename that type to StripeObject;
https://www.graphql-mesh.com/docs/transforms/rename

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gradisarjoze
Comment options

Answer selected by gradisarjoze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants