manifoldco / go-manifold

Go client API for Manifold (unstable)
https://www.manifold.co
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Fix panic on analytics properties #53

Closed louisbranch closed 6 years ago

louisbranch commented 6 years ago

We were trying to enumerate fields of non-struct data, ie: a *manifold.ID

louisbranch commented 6 years ago

If think this is just due to the recursive nature of the function. We are always passing event structs, but if the struct field is a pointer, it calls the same function again.

We probably can include more tests with the entire event information in place.