atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Repurpose Validate

Open joepio opened this issue 4 years ago • 2 comments

The validate function used to be handy, as the store contained (unvalidated) string representations of atoms. Now, however, it only contains valid data, and Validate kind of lost its purpose. Perhaps I should remove it entirely, but It also had its use. It was able to detect multiple issues with some graph, and generate a report. Now, it throws an error as soon as it detects one.

joepio avatar Jan 03 '21 12:01 joepio

I've changed error handling a couple of commits ago to improve the /validate endpoint. However, it now returns an error as soon as it encounters one, instead of telling how many errors there are. I'm not sure if these reports with multiple errors actually have that much benefit. I'm also considering dropping AD3 for another serialization format (#79).

joepio avatar Jan 23 '21 11:01 joepio

#333 is related.

joepio avatar Mar 23 '22 15:03 joepio