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

Search query formatting #21

Open
gausie opened this issue Jun 15, 2018 · 6 comments
Open

Search query formatting #21

gausie opened this issue Jun 15, 2018 · 6 comments

Comments

@gausie
Copy link

gausie commented Jun 15, 2018

Would it be possible to get a function that turns these objects back into strings?

@nepsilon
Copy link
Owner

I think this would be best for another lib rather than be included in that one. I'd want to keep the lib as small as possible.

@gausie
Copy link
Author

gausie commented Jun 15, 2018 via email

@nepsilon
Copy link
Owner

Is is possible to code a 10-15 lines implementation of that?
For what use cases would you use object2string?

@jaulz
Copy link
Contributor

jaulz commented Jul 5, 2019

@nepsilon I would also be interested in such a function. If you want, I can spend some time and I think we can keep it quite short. My use case is that I would like to manipulate the object instead of a string whenever I add/remove search options and check for duplicates on the front-end.

@nepsilon
Copy link
Owner

nepsilon commented Jul 5, 2019

As long as we keep the current tests passing and don't bloat it then I'm ok with it.

@jaulz
Copy link
Contributor

jaulz commented Jul 8, 2019

@nepsilon great, I just raised a new PR #31

Repository owner deleted a comment from floatingdev Jan 31, 2024
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

No branches or pull requests

4 participants
@gausie @nepsilon @jaulz and others