DescriptionAdd support for passing errors through PopulateArrayFromList.
When a JSON schema includes an array of objects PopulateArrayFromList
calls a specialized PopulateItem instance for the generated object
type. When compiled with generate_error_messages=True the generated
type's Populate method expects to receive an error parameter. This
patch adds versions of the PopulateArrayFromList and PopulateItem
functions that pass through and provide that parameter.
This capability is required for a new manifest key that will include
an array of objects being added as part of issue 468955.
Committed: https://crrev.com/89a17f7839bfedeee84ae1dbc178fb13dfe03eba
Cr-Commit-Position: refs/heads/master@{#328471}
Patch Set 1 #Patch Set 2 : Updated JSON schema tests. #
Messages
Total messages: 12 (5 generated)
|