Skip to content

aws-sdk-go fails tests with "reflect.Value has no field or method FieldByNameFunc" #2784

Open
@dkegel-fastly

Description

@dkegel-fastly

This is no surprise, but aws's go sdk needs more reflect.

github.com/aws/aws-sdk-go fails nearly all of its tests in tinygo with the error

../../aws/awsutil/path_value.go:70:18: value.FieldByNameFunc undefined (type reflect.Value has no field or method FieldByNameFunc)

It also needs encoding/xml, x/sys, and net/http. It'll be a while before tinygo supports it, but it's interesting to see what the roadblocks will be.

Commenting out the guts of rValuesAtPath() gets past that, kind of, after which the next pervasive problem is

../../request/retryer.go:203:20: impossible type assertion: err.(*net.OpError)
	*net.OpError does not implement temporary (missing method Temporary)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions