this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexgen: another legaxy special case

+2 -2
+2 -2
lex/lexgen/codegen.go
··· 227 227 case lexicon.SchemaUnknown: 228 228 switch gen.Config.UnknownType { 229 229 case "type-decoder": 230 - if gen.Config.LegacyMode && (fname == "didDoc" || fname == "plcOp" || fname == "meta") { 230 + if gen.Config.LegacyMode && (fname == "didDoc" || fname == "plcOp" || fname == "meta" || fname == "debug") { 231 231 if optional { 232 232 return "*interface{}", nil 233 233 } else { ··· 310 310 switch s.Def.(type) { 311 311 case lexicon.SchemaString: 312 312 return "string", nil 313 - // XXX: other referenced types, like arrays? 313 + // TODO: other concrete types and special-cases types, like arrays 314 314 } 315 315 316 316 parts := strings.SplitN(ref, "#", 3)