@@ -343,17 +343,23 @@ private void assignInputs(final Module module,
343343
344344 for (final String name : inputMap .keySet ()) {
345345 final ModuleItem <?> input = module .getInfo ().getInput (name );
346+ final Object value = inputMap .get (name );
347+ final Object converted ;
346348 if (input == null ) {
347- log .error ("No such input: " + name );
348- continue ;
349+ // inputs whose name starts with a dot are implicitly known by convention
350+ if (!name .startsWith ("." )) {
351+ log .warn ("Unmatched input: " + name );
352+ }
353+ converted = value ;
349354 }
350- final Object value = inputMap .get (name );
351- final Class <?> type = input .getType ();
352- final Object converted = ConversionUtils .convert (value , type );
353- if (value != null && converted == null ) {
354- log .error ("For input " + name + ": incompatible object " +
355- value .getClass ().getName () + " for type " + type .getName ());
356- continue ;
355+ else {
356+ final Class <?> type = input .getType ();
357+ converted = ConversionUtils .convert (value , type );
358+ if (value != null && converted == null ) {
359+ log .error ("For input " + name + ": incompatible object " +
360+ value .getClass ().getName () + " for type " + type .getName ());
361+ continue ;
362+ }
357363 }
358364 module .setInput (name , converted );
359365 module .setResolved (name , true );
0 commit comments