refactored query stats: implemetation instead interface #3420
Annotations
5 errors and 1 warning
Run basic example gorm with sqlite
cannot use stats.FromQueryStats(pb.GetExecStats()) (value of type "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats) as *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats value in struct literal: "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats does not implement *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats (type *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats is pointer to interface, not interface)
|
Run basic example gorm with sqlite
cannot use r (variable of type *streamResult) as StreamResult value in return statement: *streamResult does not implement StreamResult (wrong type for method Stats)
|
Run basic example gorm with sqlite
cannot use r (variable of type *unaryResult) as UnaryResult value in return statement: *unaryResult does not implement UnaryResult (wrong type for method Stats)
|
Run basic example gorm with sqlite
cannot use stats.FromQueryStats(r.stats) (value of type "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats) as *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats value in return statement: "github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats does not implement *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats (type *"github.com/ydb-platform/ydb-go-sdk/v3/internal/stats".QueryStats is pointer to interface, not interface)
|
Run basic example gorm with sqlite
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading