Nao Yonashiro

Results 19 comments of Nao Yonashiro

Smaller reproducible code: ```go func TestIssue330(t *testing.T) { type T struct { A int `json:"a"` B []int `json:"b"` } in := `[{"a":1},{"a":2,"b":{}},{}]` var a []T err := json.Unmarshal([]byte(in), &a) fmt.Println(err)...

I wrote the minimum reproducible code. ```go func TestIssue391(t *testing.T) { type A struct { X string `json:"x,omitempty"` } type B struct { A } type C struct { B...

The current container image cannot run RUN because the base image is scratch. The expected usage is to use volume mount like `docker run -w /sqlc -v $PWD:/sqlc kjconroy/sqlc generate`....

It seems to work correctly in 1.20. https://play.sqlc.dev/p/11240140f47c8020ec97bedca3d8200b4a22c9557ed9f4acf1e0d5afcc116626

@kyleconroy I would like to introduce the concept of hidden table for tables like json_tree and sqlite_schema, which are included in the catalog but for which I do not want...

@josharian thanks! workaround: ```sql -- name: LookUpVendors :many SELECT vendor.* FROM vendor, json_each(vendor.benefits) AS benefit, json_each(vendor.states) AS state WHERE state.value IN (CAST(@state AS TEXT), 'National Coverage') AND benefit.value = CAST(@benefit...

podman save format isn't compatible docker save format. dlayer depends docker save format, so doesn't work correctly.

This can now be achieved by using sqlc.slice. https://play.sqlc.dev/p/ed1b1d235f3a32c811a27dec68d826b4c0c36dedf0e614f0339fa02e11cc4ba4

I confirmed this issue. Maybe it is a concurrency problem.