Skip to content

parse_service_endpoint_changes will happily accept the same protocol in both enable and disable (or multiple times), producing conflicting duplicate ServiceEndpointChange entries in the request. This makes the request ambiguous and can cause hard-to-debug API errors. Consider detecting conflicts/duplicates (e.g., by tracking seen protocols) and returning an error if a protocol is specified more than once or specified in both lists. #31

@sdairs

Description

@sdairs

parse_service_endpoint_changes will happily accept the same protocol in both enable and disable (or multiple times), producing conflicting duplicate ServiceEndpointChange entries in the request. This makes the request ambiguous and can cause hard-to-debug API errors. Consider detecting conflicts/duplicates (e.g., by tracking seen protocols) and returning an error if a protocol is specified more than once or specified in both lists.

Originally posted by @Copilot in #25 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions