Skip to content

unreal_batch: includeSignatures and contextLines not forwarded to findMember #36

@Joxx0r

Description

@Joxx0r

Bug Description

When calling findMember through unreal_batch, the includeSignatures and contextLines options are silently dropped from the results. Direct calls to find_member with the same parameters work correctly.

Reproduction

Direct call — works correctly:

find_member("GetOwner", containingType: "UActorComponent", includeSignatures: true)
→ "signature": "ENGINE_API AActor* GetOwner() const;"  ✅

Batch call — signature missing:

batch([{method: "findMember", args: ["GetOwner", {containingType: "UActorComponent", includeSignatures: true}]}])
→ no signature field in result  ❌

Same for TakeDamage with includeSignatures: true — works direct, missing in batch.

Likely also affects contextLines when passed through batch (not tested separately but same forwarding mechanism).

Expected Behavior

Batch should forward all options to the underlying method and include the same fields in the response as direct calls.

Impact

This means batch can't fully replace parallel direct calls when signatures or context are needed — users must fall back to individual find_member calls to get signatures.

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