Skip to content

Verify storage policy in proto/binary/JSON decoders #748

@cthulhu-rider

Description

@cthulhu-rider

See checks in

func (x *NodeInfo) fromProtoMessage(m *protonetmap.NodeInfo, checkFieldPresence bool) error {
. I'd expect the same thing here, so Verify() can be called right in the PlacementPolicy.fromProtoMessage

Originally posted by @roman-khimov in #736 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions