The GraphQL language added null literal support a few months ago and it has not been added to graphql-go: https://github.com/facebook/graphql/pull/83