Skip to content

Commit

Permalink
fix(pipeline): reactivate options java-like stringifications
Browse files Browse the repository at this point in the history
Pipeline options parsing is not updated yet to support csharp like stringification (like boolean stringified to "True" or "False").
  • Loading branch information
NPavie committed Nov 14, 2024
1 parent 110c604 commit f1d3445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/DaisyConverterLib/Pipeline/Pipeline2/Pipeline2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ public IntPtr Start(string scriptName, Dictionary<string, object> options = null
{
// Note : the hashmap expects list of strings as options valu
stringifiedOptions[option.Key] = new List<string>() {
//StringifyOption(jni, option.Value),
option.Value.ToString() // possible only after referenced pipeline framework is updated to enable a more relaxed value check (https://github.com/daisy/pipeline-framework/commit/46dc1aeb6918da24640d327c7f6cd2b0c44b1dd5)
StringifyOption(jni, option.Value),
//option.Value.ToString() // possible only after referenced pipeline framework is updated to enable a more relaxed value check (https://github.com/daisy/pipeline-framework/commit/46dc1aeb6918da24640d327c7f6cd2b0c44b1dd5)
};
}
IntPtr hashMap = jni.NewJavaWrapperObject(stringifiedOptions);
Expand Down

0 comments on commit f1d3445

Please sign in to comment.