CalcyteJS issueshttps://code.research.uts.edu.au/eresearch/CalcyteJS/-/issues2019-08-22T11:35:54+10:00https://code.research.uts.edu.au/eresearch/CalcyteJS/-/issues/20async consistency2019-08-22T11:35:54+10:00Mike Lynchasync consistencyCurrently the code is a mixture of sync operations (mostly) and promises (json-ld, which doesn't have sync versions).
For use as a library it would be better if all the exposed methods were asyncCurrently the code is a mixture of sync operations (mostly) and promises (json-ld, which doesn't have sync versions).
For use as a library it would be better if all the exposed methods were asynchttps://code.research.uts.edu.au/eresearch/CalcyteJS/-/issues/22Refactoring: de-duplicate the json_by_id/path/type code2018-09-07T10:45:15+10:00Mike LynchRefactoring: de-duplicate the json_by_id/path/type codebag.js, collection.js and datacite.js have the same (or slightly different) versions of the code to build three index dicts of a graph's contents - this should probably be moved to a utility functionbag.js, collection.js and datacite.js have the same (or slightly different) versions of the code to build three index dicts of a graph's contents - this should probably be moved to a utility function