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

wherePipe with nested object & multiple nested object #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dwcahyo23
Copy link

this feature have been tested with jest

@Vladyslav317
Copy link
Collaborator

Hi @dwcahyo23 , have you checked how it works in Prisma? According to your issue, you were trying to query nested objects, and the only way to access a nested object is to use the is operator.

@dwcahyo23
Copy link
Author

Hi @Vladyslav317 I have tried without the is operator
image

@Vladyslav317
Copy link
Collaborator

This is what I had with your previous code:
image

But with your latest changes, you added the is operator and it works! Good job

@Vladyslav317
Copy link
Collaborator

@dwcahyo23 Can you refactor the code? It has some Eslint warnings that need addressing

@dwcahyo23
Copy link
Author

@Vladyslav317 can you show me the warning code ?

@dwcahyo23 dwcahyo23 changed the title feat nested object in where clause wherePipe with nested object & multiple nested object Apr 26, 2024
@Vladyslav317
Copy link
Collaborator

Here are some of them:
image (1)
image (2)

To view them, you need to have the ESLint extension installed.

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.

2 participants