-
Notifications
You must be signed in to change notification settings - Fork 159
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
Looking for call chaining including line-feeds #87
Comments
Aah unfortunately Jennifer is intentionally simplified... it's more concerned with outputting correct code rather than good looking code. |
@dave could you clarify whether you're saying "I won't accept a PR that implements this" or just "I won't do this myself"? |
It's the "I won't accept a PR that implements this". The API is already complex and cluttered... there's hundreds of tweaks I could add if we were concerned with improving the exact formatting of code. I've tried to keep it as simple as possible while still allowing you to output correct, compilable code. |
Thanks for clarifying! Should this issue be closed then? |
Sure feel free to close it. |
Not my issue or I would 😂 |
😂 sorry I'm half asleep today |
I am trying to generate a multi-line call chain but go requires the newline between the Dot and the Id, such as:
Currently
Dot
does not appear to support such a mechanism. I've added aDotLine
method to Statement (below) but was wondering if there was some canonical way to do this already. If not, can a solution be added?The text was updated successfully, but these errors were encountered: