Skip to content

graphQL will now have variables will handle as empty instead of null#1068

Open
huuaho wants to merge 1 commit into
bento-xfrom
BENTO-2611
Open

graphQL will now have variables will handle as empty instead of null#1068
huuaho wants to merge 1 commit into
bento-xfrom
BENTO-2611

Conversation

@huuaho

@huuaho huuaho commented Mar 25, 2025

Copy link
Copy Markdown

Description

There was an issue with GraphQL responses not returning the proper value. From the ticket, the query was formatted incorrectly. But aside from the incorrect formatting, the variable's field always needed to be filled out, an easy oversight. I've made the query check to see if variables is null or not, if it is it will default to an empty object, so we avoid the null error.

Fixes # (issue)
BENTO-2611

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Locally

@huuaho huuaho requested a review from Nahomtes March 25, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant