Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referenced entity bodies are not returned for hierarchically fetched parents #596

Closed
novoj opened this issue Jun 3, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@novoj
Copy link
Collaborator

novoj commented Jun 3, 2024

The query:

{
  getProduct(url: "/pandora-naramek-moments-stribrny", locale: cs) {
    categories {    
      referencedPrimaryKey
      referencedEntity {
        parents {
          primaryKey
            attributes {
              name
            }
          tags {
            referencedPrimaryKey
            referencedEntity {            
                attributes {
                  code
                }
            }
          }
        }
      }
    }
  }
}

Doesn't return tag entities for parents even if they exist.

@novoj novoj added the bug Something isn't working label Jun 3, 2024
@novoj novoj added this to the Beta milestone Jun 3, 2024
@novoj novoj self-assigned this Jun 3, 2024
novoj added a commit that referenced this issue Jun 3, 2024
novoj added a commit that referenced this issue Jun 3, 2024
…re-not-returned-for-hierarchically-fetched-parents

fix(#596): Referenced entity bodies are not returned for hierarchically fetched parents
@novoj novoj closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant