graphiti-api / graphiti

Stylish Graph APIs
https://www.graphiti.dev/
MIT License
960 stars 138 forks source link

Trim error messages #374

Closed PChambino closed 2 years ago

PChambino commented 2 years ago

While writing a test on our application I noticed that the error messages include a lot of spaces at the beginning.

Since Graphiti supports ruby >= 2.3 I think we can use the squiggly heredoc to remove the leading spaces.

This may be a breaking change, but can also be considered patch if the leading spaces are not intentional.

richmolj commented 2 years ago

I think we can call this a patch, thanks @PChambino ❤️ !