validate icon indicating copy to clipboard operation
validate copied to clipboard

Refactor code to use URL objects instead of file paths wherever possible

Open jordanpadams opened this issue 4 years ago • 2 comments

💡 Description

Current code flips back and forth between using system file paths (operating system-specific) vs. URL objects. Wherever possible, we should switch to the latter to avoid operating system-specific issues with parse files and paths.

jordanpadams avatar Dec 21 '21 17:12 jordanpadams

Would this mean an enforcement that URL objects be actually resolvable? @acraugh has concerns about an implicit enforcement of using the canonical schemas rather than locally developed ones

mdrum avatar Apr 27 '22 22:04 mdrum

@mdrum no. Sorry. Should have pulled this out of the prioritization.

This is under the hood in the code for how validate is passing around paths and reading files. The user should see no impact besides potentially less bugs related to quirks in file paths.

jordanpadams avatar Apr 27 '22 23:04 jordanpadams