apache / apache/beam

datastoreio doesn't work with entities containing keys

Open
#18,995 3 comments 1 reaction 0 assignees View on GitHub
bug go P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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](https://issues.apache.org/jira/browse/BEAM-5200). Original Jira may contain additional context.
Reported by: ribrdb.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.