Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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