client: Type field of object GetRangeHash is ignored #259

Open
opened 2025-12-28 18:07:36 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024).

Client ignores nspcc-dev/neofs-api@e66b25d4bf/object/service.proto (L699). Now server can respond with any value, even negative

no error may be OK when value is unset. Its presence in the protocol is very questionable to me

Current Behavior

field is ignored

Expected Behavior

field is verified

Possible Solution

require equality to the requested one. As option, also allow zero

Steps to Reproduce

  • corresponding test from #641

Regression

no

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024). `Client` ignores https://github.com/nspcc-dev/neofs-api/blob/e66b25d4bf2afc4472023e1e2c2467f694f5a0e1/object/service.proto#L699. Now server can respond with any value, even negative no error may be OK when value is unset. Its presence in the protocol is very questionable to me ## Current Behavior field is ignored ## Expected Behavior field is verified ## Possible Solution require equality to the requested one. As option, also allow zero ## Steps to Reproduce * corresponding test from #641 ## Regression no
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sdk-go#259
No description provided.