Closed smallhive closed 11 months ago
Can you, please, do the same as we did in the node repo? Is allows us to be sure this PR broke nothing in the other places.
Also, the first two commits are the same for me. But up to you.
Can you, please, do the same as we did in the node repo? Is allows us to be sure this PR broke nothing in the other places.
Works perfectly https://github.com/nspcc-dev/neofs-sdk-go/actions/runs/6269928793/job/17027095101?pr=522 :sweat_smile:
Do we suppress these errors? Fixing them may significantly affect the SDK API
As for deprecation warnings, you can suppress them if there are no better ways (although it's somewhat strange to have something deprecated and not have a replacement).
As for deprecation warnings, you can suppress them if there are no better ways (although it's somewhat strange to have something deprecated and not have a replacement).
Yes, maybe we should pay more attention to #25.
But what about:
sig.ReadFromV2
is not checked (errcheck) herever.ReadFromV2
is not checked (errcheck) herepanic? Changing the function API to return an error may significantly influence some code.
With the current API you can return nil
.
Updated
although it's somewhat strange to have something deprecated and not have a replacement
That is because of https://github.com/nspcc-dev/neofs-api/pull/205. No need to store SG's expiration as a payload's part if it is always an object that has its own expiration. So maybe deprecate SDK's getters too? Or even remove them. @smallhive, @roman-khimov, @cthulhu-rider
Close #492