jmap-kit
    Preparing search index...

    Variable maxObjectsInSetPluginConst

    maxObjectsInSetPlugin: ValidationPlugin<
        "invocation",
        BaseSetRequestInvocationArgs<BaseInvocationArgs>,
    > = ...

    Validates that /set method calls do not exceed the server's maxObjectsInSet limit.

    Object Modification Limits (RFC 8620 Section 5.3):

    • Enforces the maxObjectsInSet limit defined in the Core capability object
    • Counts the total number of operations across create, update, and destroy arguments
    • Applies to all /set method calls (Mailbox/set, Email/set, etc.)
    • Prevents requests that would be rejected with a requestTooLarge error
    • The server defines this limit to manage transaction size and resource usage

    This validation catches oversized batch operations client-side before transmission, allowing clients to split large operations into multiple requests if needed.

    Example: If a server sets maxObjectsInSet: 100, attempting to create 50 mailboxes, update 30, and delete 25 (total: 105 operations) in a single Mailbox/set call would be rejected.