HarperFast / HarperFast/harper

Query by doubly-nested attribute returns matching record 3 times instead of once

Open
#836 0 comments 0 reactions 1 assignee Claimed by @Ethan-Arrowood View on GitHub
area:GraphQL bug from-jira
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

## Problem

Querying by a doubly-nested attribute path (e.g., `related.subObject.any`) returns the correct matching record but duplicates it 3 times. Affects both GraphQL and REST.

```graphql
{ SubObject(related: { subObject: { any: "any-3" } }) { id any } }
# → returns id:"3" three times
```

```
GET /SubObject/?related.subObject.any==any-2&select(id,any)
# → returns id:"2" three times
```

🤖 Filed by Claude on behalf of Kris.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.