How do we convert the handsontable
sample table representation to a PEP-compatible sample table representation?
#376
Labels
handsontable
sample table representation to a PEP-compatible sample table representation?
#376
Overview
Probably the most bug-prone step in the sample-table of the PEPhub UI is the conversion of the data-representation used by
handsontable
to the data-representation used in our database. Specifically, we need to convert an array-of-arrays, into an array-of-objects. You can view the current function deployed now.Essentially the function must convert this:
Into this:
Things that make it tricky
There are problems with this conversion; moreover questions that need to be answered:
null
as an attribute (which feels wrong)The conversion seems to be lossy by nature. In the interest of trying to balance out not doing magic behind the scenes but also promptly warning the user about potential errors, it becomes quite difficult to write the function, and I am looking for assistance.
The text was updated successfully, but these errors were encountered: