feat: support relation and object deprecation #2465
71.71% of diff hit (target 77.45%)
View this Pull Request on Codecov
71.71% of diff hit (target 77.45%)
Annotations
Check warning on line 67 in internal/services/shared/errors.go
codecov / codecov/patch
internal/services/shared/errors.go#L65-L67
Added lines #L65 - L67 were not covered by tests
Check warning on line 641 in internal/services/v1/relationships.go
codecov / codecov/patch
internal/services/v1/relationships.go#L640-L641
Added lines #L640 - L641 were not covered by tests
Check warning on line 659 in internal/services/v1/relationships.go
codecov / codecov/patch
internal/services/v1/relationships.go#L658-L659
Added lines #L658 - L659 were not covered by tests
Check warning on line 665 in internal/services/v1/relationships.go
codecov / codecov/patch
internal/services/v1/relationships.go#L664-L665
Added lines #L664 - L665 were not covered by tests
Check warning on line 677 in internal/services/v1/relationships.go
codecov / codecov/patch
internal/services/v1/relationships.go#L669-L677
Added lines #L669 - L677 were not covered by tests
Check warning on line 694 in internal/services/v1/relationships.go
codecov / codecov/patch
internal/services/v1/relationships.go#L690-L694
Added lines #L690 - L694 were not covered by tests
Check warning on line 90 in pkg/cmd/testserver/testserver.go
codecov / codecov/patch
pkg/cmd/testserver/testserver.go#L90
Added line #L90 was not covered by tests
Check warning on line 51 in pkg/namespace/builder.go
codecov / codecov/patch
pkg/namespace/builder.go#L50-L51
Added lines #L50 - L51 were not covered by tests
Check warning on line 92 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 110 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L109-L110
Added lines #L109 - L110 were not covered by tests
Check warning on line 255 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L254-L255
Added lines #L254 - L255 were not covered by tests
Check warning on line 262 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L261-L262
Added lines #L261 - L262 were not covered by tests
Check warning on line 330 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L329-L330
Added lines #L329 - L330 were not covered by tests
Check warning on line 336 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L335-L336
Added lines #L335 - L336 were not covered by tests
Check warning on line 397 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L396-L397
Added lines #L396 - L397 were not covered by tests
Check warning on line 513 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L512-L513
Added lines #L512 - L513 were not covered by tests
Check warning on line 518 in pkg/schemadsl/compiler/translator.go
codecov / codecov/patch
pkg/schemadsl/compiler/translator.go#L517-L518
Added lines #L517 - L518 were not covered by tests
Check warning on line 318 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L317-L318
Added lines #L317 - L318 were not covered by tests
Check warning on line 372 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L371-L372
Added lines #L371 - L372 were not covered by tests
Check warning on line 378 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L376-L378
Added lines #L376 - L378 were not covered by tests
Check warning on line 398 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L396-L398
Added lines #L396 - L398 were not covered by tests
Check warning on line 408 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L402-L408
Added lines #L402 - L408 were not covered by tests
Check warning on line 419 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L419
Added line #L419 was not covered by tests
Check warning on line 433 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L433
Added line #L433 was not covered by tests
Check warning on line 440 in pkg/schemadsl/parser/parser.go
codecov / codecov/patch
pkg/schemadsl/parser/parser.go#L439-L440
Added lines #L439 - L440 were not covered by tests