registry icon indicating copy to clipboard operation
registry copied to clipboard

Registry server: improve create entity validation and efficiency

Open theganyo opened this issue 1 year ago • 0 comments

This code does record validation after a query to see if the record exists - it would be better to reverse them and avoid the query in the error case. Better yet, I believe we can avoid the duplicate check entirely by using a DB "create" instead of "save" here.

Check other entities as this may also apply to entities other than artifacts.

theganyo avatar Aug 23 '22 16:08 theganyo