Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ability to configure query printing #26

Open
roddolf opened this issue Aug 9, 2018 · 0 comments
Open

Ability to configure query printing #26

roddolf opened this issue Aug 9, 2018 · 0 comments

Comments

@roddolf
Copy link
Collaborator

roddolf commented Aug 9, 2018

Would be nice to add the ability to configure the printing of the query, because there are two methods of printing:

  • toPrettyPrint()
  • toCompactPrint()

And currently toString() will use toPrettyPrint().

A suggestion would be to use the PRODUCTION or DEVELOPMENT flags in the environment variables.

Also the spaces tabulation in the pretty mode could be configured (currently it uses 4 spaces).

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant