mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

clone of undefined object in minimizeQueryAST #85

Closed jordanh closed 8 years ago

jordanh commented 8 years ago

I investigated why my simple query was failing this morning and tracked it down to this line.

@mattkrick, when you refactored this function I think you forgot to thread through the name initialVariableDefinitions from printMinimalQuery() down into minimizeQueryAST().

Simple fix forthcoming...