File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313 "runtime"
1414)
1515
16- const VERSION = "v0.4.2 "
16+ const VERSION = "v0.4.3 "
1717
1818func main () {
1919 configFileName := flag .String ("config" , "recodegen.json" , "Configuration file name" )
@@ -32,7 +32,7 @@ func main() {
3232 schemaAst := getSchemaAst (cliConfig .Schema )
3333
3434 for outputFileName , genConfig := range cliConfig .Generates {
35- processInput (schemaAst , outputFileName , genConfig )
35+ processInput (schemaAst , outputFileName , & genConfig )
3636 }
3737
3838 //fmt.Println("Parallel")
@@ -56,7 +56,7 @@ func main() {
5656 PrintMemUsage ()
5757}
5858
59- func processInput (schemaAst * ast.Schema , outputFileName string , genConfig config.CodegenSchemaEntryConfig ) {
59+ func processInput (schemaAst * ast.Schema , outputFileName string , genConfig * config.CodegenSchemaEntryConfig ) {
6060 output := ""
6161 hadKnownPlugin := false
6262 for _ , plugin := range genConfig .Plugins {
Original file line number Diff line number Diff line change 11{
22 "name" : " @graphql-recodegen/cli" ,
3- "version" : " 0.4.2 " ,
3+ "version" : " 0.4.3 " ,
44 "description" : " Faster GraphQL codegen for TypeScript projects" ,
55 "main" : " index.js" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
1515const defExportName = "Types"
1616
1717type Operations struct {
18- Config config.CodegenSchemaEntryConfig
18+ Config * config.CodegenSchemaEntryConfig
1919 Ast * ast.Schema
2020 fragments map [string ]* ast.FragmentSpread
2121}
You can’t perform that action at this time.
0 commit comments