issue-38-plugin-panics

command
v0.0.0-...-4e6cce8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 18 Imported by: 0

README

This is a reproduction for this issue: https://github.com/web-ridge/gqlgen-sqlboiler/issues/38 Not a real example!

Generated files in this example

  • graphql_models/*
  • models/*
  • helpers/*
  • resolver.go

Steps to make this project

  1. Start Postgres container with social soap.sql
    docker-compose up -d

  2. Generate /models/* files
    sqlboiler psql --no-back-referencing -d

    --no-back-referencing if you don't set it your program will crash with recursive converts!

  3. Generate schema.grapql, converts (helpers/*) and resolver.go go run convert_plugin.go

  4. ...Let's go!
    go run server.go resolver.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL