mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
Support nested object
This commit is contained in:
parent
55506d3748
commit
b50fa51e9c
8 changed files with 143 additions and 96 deletions
|
|
@ -50,7 +50,7 @@ fn data_source_model_inner(
|
|||
let #tf::Some(#name) = obj.remove(#name_str) else {
|
||||
return #tf::Err(
|
||||
#tf::Diagnostics::from(#tf::Diagnostic::error_string(
|
||||
format!("Expected property '{}', which was not present", #name_str),
|
||||
format!("Expected property '{}' when deserializing value, which was not present in the value", #name_str),
|
||||
).with_path(path.clone()))
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue