Skip to content

Commit

Permalink
feat: add cache to make some stuff faster
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLindhout committed Dec 31, 2022
1 parent ba0d775 commit 0a224db
Show file tree
Hide file tree
Showing 11 changed files with 1,211 additions and 1,136 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ func main() {
PackageName: "helpers",
}
backend := gbgen.Config{
Directory: "models",
PackageName: "models",
Directory: "structs",
PackageName: "structs",
}
frontend := gbgen.Config{
Directory: "graphql_models",
Expand Down Expand Up @@ -203,7 +203,7 @@ func main() {
api.AddPlugin(gbgen.NewConvertPlugin(
output, // directory where convert.go, convert_input.go and preload.go should live
backend, // directory where sqlboiler files are put
frontend, // directory where gqlgen models live
frontend, // directory where gqlgen structs live
gbgen.ConvertPluginConfig{
DatabaseDriver: gbgen.MySQL, // or gbgen.PostgreSQL,
},
Expand Down
Loading

0 comments on commit 0a224db

Please sign in to comment.