Commit 7fef7cf
Nick Laurenson
Fix get_dynamic_mapped_parameter for nested map keys
The old implementation only returned the key names without the parent
struct path prefix. This caused generated code to reference non-existent
members like 'updated_params.entries' instead of 'updated_params.nested.entries'.
Changes:
- Rename old get_dynamic_mapped_parameter to get_dynamic_mapped_parameter_names
- Create new get_dynamic_mapped_parameter that builds full paths including
parent struct prefixes (e.g., 'nested.entries' instead of just 'entries')
- Update get_dynamic_parameter_map to use the renamed function1 parent e3df370 commit 7fef7cf
1 file changed
Lines changed: 23 additions & 1 deletion
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
109 | 131 | | |
110 | 132 | | |
111 | 133 | | |
| |||
129 | 151 | | |
130 | 152 | | |
131 | 153 | | |
132 | | - | |
| 154 | + | |
133 | 155 | | |
134 | 156 | | |
135 | 157 | | |
| |||
0 commit comments