i-love-flamingo / graphql

Flamingo GraphQL Module
MIT License
5 stars 1 forks source link

Generation fails with go 1.22 #99

Closed tessig closed 7 months ago

tessig commented 7 months ago

When generating graphql with go 1.22 the command panics panic: runtime error: invalid memory address or nil pointer dereference.

This is easily reproducible with an "empty" flamingo project.

func main() {
    flamingo.App(
        []dingo.Module{
            new(graphql.Module),
        },
    )
}

and go run main.go graphql

carstendietrich commented 7 months ago

fixed with #96