Skip to content

datastoreio doesn't work with entities containing keys #18995

@kennknowles

Description

@kennknowles

If I trie to map over an entity struct that contains a *datastore.Key field, I get the error:

panic: type value main.Foo must be a concrete type

 

It looks like this is because typex.IsConcrete doesn't support pointers.

Imported from Jira BEAM-5200. Original Jira may contain additional context.
Reported by: ribrdb.

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