issue-12-string-ids

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: 20 Imported by: 0

README

This is a reproduction for string id's for to test and resolve this issue: https://github.com/web-ridge/gqlgen-sqlboiler/issues/12 Not a real example!

Generated files in this example

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

Steps to make this project

  1. Start MariaDB container with social network.sql
    docker-compose up -d

  2. Generate /models/* files
    sqlboiler mysql --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 database.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