Skip to content

feat: allow catch verbs to receive request types as any #6201

feat: allow catch verbs to receive request types as any

feat: allow catch verbs to receive request types as any #6201

Triggered via pull request August 16, 2024 03:06
Status Failure
Total duration 3m 0s
Artifacts

ci.yml

on: pull_request
Shard Integration Tests
0s
Shard Integration Tests
Matrix: Integration Test
Integration Success
0s
Integration Success
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Test Go: backend/schema/validate_test.go#L498
=== RUN TestValidate/PubSubCatch backend/schema/validate_test.go:498: Expected values to be equal: []string{ - "34:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventA> but found builtin.CatchRequest<test.EventB>", + "34:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventA> or builtin.CatchRequest<Any>, but found builtin.CatchRequest<test.EventB>", "38:5-5: catch verb must not have a response type but found test.EventA", - "42:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventB> but found Unit", - "46:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventB> but found test.EventB", + "42:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventB> or builtin.CatchRequest<Any>, but found Unit", + "46:5-5: catch verb must have a request type of builtin.CatchRequest<test.EventB> or builtin.CatchRequest<Any>, but found test.EventB", "50:5-5: expected catch to be a verb", } --- FAIL: TestValidate/PubSubCatch (0.02s)
Test Go
Process completed with exit code 1.