GoogleCloudPlatform / go-endpoints

Cloud Endpoints for Go
https://go-endpoints.appspot.com
Apache License 2.0
255 stars 56 forks source link

Nested slices are not supported. #140

Open etherealmachine opened 8 years ago

etherealmachine commented 8 years ago

Slice of slices are unsupported:

type Request struct {
    Bytes [][]byte
}
func (s *Service) Test(ctx endpoints.Context, req *Request) error {
    return nil
}

Yields this error in the logs: ERROR: Unsupported field: &reflect.StructField{Name:"Bytes", PkgPath:"", Type:(*reflect.rtype)(0x6a90a0), Tag:"", Offset:0x0, Index:[]int{0}, Anonymous:false}