Skip to content
Snippets Groups Projects
Commit 39c5e73a authored by Malte Bauch's avatar Malte Bauch
Browse files

Correctly init the goStruct within the plugins ValidateChange method

The nodes along a path of the copied model (which is a copy of the
underlying goStruct of the plugin) within the ValidateChange method of a
plugin were not properly initialized.

This means if a JSON string was provided that contained a node that was
not initialized an error was thrown. But since the
`ytypes.IgnoreExtraFields` option was set, the node was just ignored and
no error was thrown.

This change correctly initializes the node at the given path and removes
the `ytypes.IgnoreExtraFields` option.
parent 646ca304
No related branches found
No related tags found
1 merge request!455Resolve "A set request results in error : no changes between"
Pipeline #139063 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment