Skip to content

Conversation

@mbhaskar
Copy link
Member

@mbhaskar mbhaskar commented Nov 7, 2022

Why make this change?

Adding additional test for filtering on inner object json in relation to #880

What is this change?

Test addition where we filter on nested inner object.

ex:

{
    "id": "Endor",
    "name": "Endor",
    "character": {
        "name": "earth char",
        "age": 37445,
        "star": {
            "name": "Endor_star"
        }
    }
}

planets(filter: {character:{star: name: {eq: "Endor_star"}}})

select * from c where c.character.star.name= "Endor_star"

How was this tested?

  • Integration Tests
  • Unit Tests

Sample Request(s)

Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mbhaskar mbhaskar merged commit ff2beff into main Nov 8, 2022
@mbhaskar mbhaskar deleted the mbhaskar/nested-inner-filter branch November 8, 2022 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants