Open manonthegithub opened 2 years ago
@kurzum
@kurzum we can also make different paths for files with different graphids/prefixes (upon saving)... but need to think about how should these paths look like
@manonthegithub I would document this in swagger: document in swagger:
/
as relative path, so it is more flexible, but user can mess up more, but this is always the case with flexibility.... @kurzum as an option we can calculate a hash of prefix and then save the file on disk using hash as path segment
one problem…. with the prefix now it is possible to create several graphs for one file… so when you delete the second one, the file wont be there and will for now throw 500 i think… what should we actually do? or we should check if the file already exists and not create the second graph?