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

Nested where arguments #16

Open
Ataraxy opened this issue Jan 26, 2021 · 3 comments
Open

Nested where arguments #16

Ataraxy opened this issue Jan 26, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ataraxy
Copy link

Ataraxy commented Jan 26, 2021

Hey there. I love this library thanks.

I was wondering if there's a way to do nested arguments? I've messed around a bit and don't think you can unless I'm mistaken.

For example:

where: { active: { _eq: true }, shopBilling: { active: { _eq: true } } }

Of course this works:

active_eq: true

In this case though shopBilling is a related table with an object relationship, so I was hoping you could do this:

shopBilling { active_eq: true } or shopBilling.active_eq: true but to no avail.

@vilvaathibanpb
Copy link
Contributor

Hey @Ataraxy , Thanks for pointing it out. This is a valid usecase, I forgot to handle. I will take a look and fix it in a month or so.

In meanwhile, feel free to pick it up and raise a PR as well :)

@vilvaathibanpb vilvaathibanpb added enhancement New feature or request help wanted Extra attention is needed labels Jan 29, 2021
@yogeshwar607
Copy link

hey got any solution for this ?

@vilvaathibanpb
Copy link
Contributor

@yogeshwar607 Not yet. But a PR is welcome. Otherwise will fix it in few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants