Closed soininen closed 3 months ago
Attention: Patch coverage is 77.32181%
with 105 lines
in your changes missing coverage. Please review.
Project coverage is 66.96%. Comparing base (
1b51b6a
) to head (5567426
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR implements parameter type validation in Database editor. Parameter definition table now has a new column, "valid types" which lists accepted value types for the parameter. If any types are specified in the column, both values and default values are validated against the types. Invalid types are marked by an exclamation icon and a tool tip provides more information.
As much of the validation as possible has been offloaded to a worker process so the validation should not affect DB editor's responsiveness too much.
spinedb_api
side PR: spine-tools/Spine-Database-API#439Implements #2791
Checklist before merging