-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SR: Extract Avro schema with reflection (#1051)
* extract avro schema with reflection * fix support for byte arrays, ensure maps have strings for keys, improve map vs structured data distinction * add postfix to slice value schema * organize imports * improve nil handling * handle more edge cases * avro improvements - add map union resolver - add traversal functions - document code - improve tests * support slices with union types * remove cmp * collect avro schema extracting functions on type extractor * rename appendSchema to appendSchemas * extract switch cases into methods * document code * deduplicate schemas correctly * check error message in tests * update union resolver tests to cover arrays * document unsupported types * document limitation of unmarshaling slices and maps
- Loading branch information
1 parent
4e82de2
commit 5367324
Showing
8 changed files
with
1,569 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
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
Oops, something went wrong.