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

@searchBy: JSON support #27

Open
LastDragon-ru opened this issue Apr 23, 2022 · 2 comments
Open

@searchBy: JSON support #27

LastDragon-ru opened this issue Apr 23, 2022 · 2 comments
Labels
pkg: graphql scope: feat New feature or request

Comments

@LastDragon-ru
Copy link
Owner

No description provided.

@jaulz
Copy link

jaulz commented Apr 4, 2024

I wonder if it would be easier to map filter properties to scopes since it's difficult to come up with a generic solution here. That would allow users to search JSON fields exactly like they want.

@LastDragon-ru
Copy link
Owner Author

Non generic solution can be easily achieved by the custom operators :)

The main difficult here - to find where the JSON started inside LastDragon_ru\LaraASP\GraphQL\Builder\Field. The Field holds only strings :( (operator name is also included and then just drops...). So the first we need to make the Field smarter to know about what each part is (field/operator/json path/etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: graphql scope: feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants