gql-query-builder
gql-query-builder copied to clipboard
incorrect checks for an object-like value
throughout the code there are checks like;
const value = typeof variable === "object" ? variable.value : variable;
however, typeof will also result in "object" if value is null
in which case the above code will simply fail
I'm considering making a PR in a few days to address this issue
@thealjey thanks for identifying the issue. Looking forward to the PR.