• Bob Van Landuyt's avatar
    Adjust GraphQL helper to query empty fields · ee4ba6ce
    Bob Van Landuyt authored
    These adjustments make sure our GraphQL helpers support rendering
    queries for empty fields like this:
    
          {
            echo(text: "Hello world")
          }
    
    Instead of like this:
    
         {
           echo(text: "Hello world") {
           }
         }
    
    The latter would be an invalid query, causing parsing errors.
    ee4ba6ce
graphql_helpers.rb 4.66 KB