We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfc278f commit ec24e7cCopy full SHA for ec24e7c
src/contracts.rs
@@ -228,6 +228,7 @@ impl Contract {
228
229
// Add extra fields.
230
for (key, value) in extra_fields.into_iter() {
231
+ //TODO(stevenroose) should we check the keys of all recursive objects?
232
check_key(&key)?;
233
if props.insert(key.into(), value).is_some() {
234
return Err(Error::InvalidContract("extra field reused key from details"));
0 commit comments