Hacker News new | ask | show | jobs
by wavee 3774 days ago
Just something I've noticed - Looks like generating schema from an example doesn't support multiple value types. Eg. when the first object's value is string and the next one's is null, it saves it as a string field in the schema and throws an error for the example.
1 comments

Astute catch! We're actually tracking this issue internally already. We'll be beefing up that generator to aggregate multiple values for the same property, when it's an array of objects. Look for that in an update in the next 2 weeks.