[
https://issues.apache.org/jira/browse/AVRO-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494396#comment-13494396
]
Jeff Kolesky commented on AVRO-1202:
------------------------------------
Just a quick question about creating the {{User}} object. Is it not
recommended to use the builder like so:
{code}
User user = User.newBuilder().
setName("Alyssa").
setFavoriteNumber(256).
build();
{code}
I was under the impression that was the correct way to build {{SpecificRecord}}
objects that had been generated from schemas so that defaults would be
appropriately set and fields appropriately validated.
> Add "Getting started" guide to documentation
> --------------------------------------------
>
> Key: AVRO-1202
> URL: https://issues.apache.org/jira/browse/AVRO-1202
> Project: Avro
> Issue Type: Improvement
> Components: doc
> Reporter: Skye Wanderman-Milne
> Assignee: Skye Wanderman-Milne
> Labels: documentation
> Fix For: 1.7.3
>
> Attachments: AVRO-1202.0.patch, AVRO-1202.0.tar.gz, AVRO-1202.patch
>
>
> The Avro documentation is currently not very beginner-friendly -- it's hard
> to figure out basics like code generation, de/serialization, etc. We should
> write a "Getting started" guide and similar documentation for those new to
> Avro, as well as include some example code with the docs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira