You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, fmt.Errorf("anonymous fields not yet supported (in %s)", t)
}
@rogpeppe I'm not sure but for me that's not an anonymous structure since we know the structure underlying. It's just a merge of properties that needs to be done.
What do you think?
Thank you,
The text was updated successfully, but these errors were encountered:
I'm sorry, I've used the wrong terminology in the error message there. The error message should say "embedded fields not yet supported". It shouldn't be too hard to support them, but they weren't an initial priority. This is issue #40.
I think this issue should be closed in favour of #40 - @sixstone-qq could you do that please?
Thank you for the answer @rogpeppe , do you have some advices to try implementing it? I'm not very familiar with Reflect manipulation but I can take a few hours to look at it.
Or do you know a similar "converter" library that already implemented this kind of thing?
Hi,
I'm successfully generating Avro files from Go structure except for one kind of composed structure:
In my case the
Person
Avro cannot be generated I get this error:Reference:
avro/gotype.go
Lines 217 to 219 in 6d3ee10
@rogpeppe I'm not sure but for me that's not an anonymous structure since we know the structure underlying. It's just a merge of properties that needs to be done.
What do you think?
Thank you,
The text was updated successfully, but these errors were encountered: