Description
According documentation
Mark a List<String> or List<Object> field as being represented as the component data selector.
when using the following kind of code
@Option @Documentation("Schema.") @Structure(type = Structure.Type.OUT, discoverSchema = GUESS_SCHEMA) private List<SchemaInfo> schema = Collections.emptyList();
We expect, to fill an Object matching all or a set of properties matching the Schema.Entry interface...
But, in fact in javascript code, it cannot handle anything but only the entry name (of Schema.Entry class):
parent[key] = body.entries.map(entry => entry.name);
This bug affects cloud environments.
Attachments
Issue Links
- clones
-
TCOMP-2591 Allow DiscoverSchema action to fill complex objects
- Accepted
- depends on
-
TCOMP-2059 Update talend/ui to 6.x
- In Progress