jmap-kit
    Preparing search index...

    Variable maxObjectsInGetPluginConst

    maxObjectsInGetPlugin: ValidationPlugin<
        "invocation",
        BaseGetRequestInvocationArgs<BaseInvocationArgs>,
    > = ...

    Validates that /get method calls do not exceed the server's maxObjectsInGet limit.

    Object Retrieval Limits (RFC 8620 Section 5.1):

    • Enforces the maxObjectsInGet limit defined in the Core capability object
    • This limit applies to the ids array in any /get method call (Mailbox/get, Email/get, etc.)
    • Prevents requests that would be rejected by the server with a requestTooLarge error
    • The server defines this limit based on resource constraints and performance characteristics

    This validation catches oversized requests client-side before transmission, providing immediate feedback and avoiding unnecessary network traffic.

    Example: If a server sets maxObjectsInGet: 500, attempting to fetch 1000 email IDs in a single Email/get call would be caught and reported by this validator.