-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'default' from map and array examples (and add to enum). (#3046)
Default values are not valid for maps and arrays, and are only valid for record fields (and enums, though that's a different story). Having it in the examples is confusing, as people might have expectations around it behaving in a certain way. In the Java and Rust implementation, a default value listed here will be packed into the custom props and attributes payloads, and do not need to be of the same type.
- Loading branch information
1 parent
2f8aaee
commit ec698a5
Showing
1 changed file
with
10 additions
and
11 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