Skip to content

Commit

Permalink
Add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Byrne committed Nov 28, 2018
1 parent b0d7190 commit c11606c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package main

import "github.com/99designs/gqlgen/cmd"
import (
"fmt"
"os"

"github.com/99designs/gqlgen/cmd"
)

func main() {
fmt.Fprintf(os.Stderr, "warning: running gqlgen from this binary is deprecated and may be removed in a future release. See https://github.com/99designs/gqlgen/issues/415\n")
cmd.Execute()
}

0 comments on commit c11606c

Please sign in to comment.