github.com/Kartograf/gqlgen@v0.7.2/example/config/.gqlgen.yml (about) 1 # .gqlgen.yml example 2 # 3 # Refer to https://gqlgen.com/config/ 4 # for detailed .gqlgen.yml documentation. 5 6 schema: "*.graphql" 7 exec: 8 filename: generated.go 9 model: 10 filename: models_gen.go 11 resolver: 12 filename: resolver.go 13 type: Resolver 14 15 models: 16 Todo: # Object 17 fields: 18 id: 19 resolver: true 20 text: 21 fieldName: Description # Field 22 NewTodo: # Input 23 fields: 24 userId: 25 fieldName: UserID # Field 26 User: 27 model: github.com/99designs/gqlgen/example/config.User 28 fields: 29 name: 30 fieldName: FullName # Method