bedatadriven / activityinfo-R

ActivityInfo R Language Client
https://www.activityinfo.org/support/docs/R/
17 stars 12 forks source link

createFormSchemaFromData() should return only schema #94

Closed akbertram closed 1 year ago

akbertram commented 1 year ago

Currently, createFormSchemaFromData() returns a named list with the schema and the original data argument. Since the data argument is unchanged, returning it is unnecessary.

The createFormSchemaFromData() should return only the formSchema as the name suggests.

akbertram commented 1 year ago

@Ryo-N7 FYI: I'm not sure if you have scripts that are already using this function.