Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Extract definition stuff from collection.go #2706

Merged
merged 5 commits into from
Jun 10, 2024

Extract definition validation to validation file

55de3b5
Select commit
Loading
Failed to load commit list.
Merged

refactor: Extract definition stuff from collection.go #2706

Extract definition validation to validation file
55de3b5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 10, 2024 in 1s

83.00% of diff hit (target 77.95%)

View this Pull Request on Codecov

83.00% of diff hit (target 77.95%)

Annotations

Check warning on line 40 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L40

Added line #L40 was not covered by tests

Check warning on line 49 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L49

Added line #L49 was not covered by tests

Check warning on line 79 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L79

Added line #L79 was not covered by tests

Check warning on line 83 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L83

Added line #L83 was not covered by tests

Check warning on line 88 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L88

Added line #L88 was not covered by tests

Check warning on line 96 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L96

Added line #L96 was not covered by tests

Check warning on line 109 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L109

Added line #L109 was not covered by tests

Check warning on line 123 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L123

Added line #L123 was not covered by tests

Check warning on line 130 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L130

Added line #L130 was not covered by tests

Check warning on line 143 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L143

Added line #L143 was not covered by tests

Check warning on line 148 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L148

Added line #L148 was not covered by tests

Check warning on line 158 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L158

Added line #L158 was not covered by tests

Check warning on line 182 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L182

Added line #L182 was not covered by tests

Check warning on line 194 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L194

Added line #L194 was not covered by tests

Check warning on line 202 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L202

Added line #L202 was not covered by tests

Check warning on line 212 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L212

Added line #L212 was not covered by tests

Check warning on line 221 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L221

Added line #L221 was not covered by tests

Check warning on line 247 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L247

Added line #L247 was not covered by tests

Check warning on line 257 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L257

Added line #L257 was not covered by tests

Check warning on line 307 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L307

Added line #L307 was not covered by tests

Check warning on line 315 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L315

Added line #L315 was not covered by tests

Check warning on line 331 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L331

Added line #L331 was not covered by tests

Check warning on line 348 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L348

Added line #L348 was not covered by tests

Check warning on line 368 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L368

Added line #L368 was not covered by tests

Check warning on line 372 in internal/db/collection_define.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/collection_define.go#L372

Added line #L372 was not covered by tests