Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jbinto
Created July 27, 2016 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbinto/250a0f8a8fdb3e0e0338ec5ee8a31ade to your computer and use it in GitHub Desktop.
Save jbinto/250a0f8a8fdb3e0e0338ec5ee8a31ade to your computer and use it in GitHub Desktop.
segfault libgraphqlparser

https://github.com/Shopify/graphql-parser

Inside visit_variable_definition_name, pry breakpoint, ls node:

GraphQL::Parser::VariableDefinition#methods: default_value  type  variable

node.type or node.default_value will segfault the parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment