forked from hamba/avro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Output plain map/slice for nullable types
Go maps and slices can be nil. An avro nullable union can thus be represented directly by a map or a slice without using an explicit pointer (`*`). This feature is hidden being the `PlainMap` and `PlainSlice` options to preserve the existing behavior. Closes hamba#461
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters