Skip to content

Generate toString() without newline characters #5

@nazlo

Description

@nazlo

Whenever java entities are generated, corresponding toString() method is also generated. The issue is: generated toString() uses \n characters in it. If a client wants to use generated entities in log statements, then the particular statement is spread across multiple lines.
This makes impossible logs indexing with elastic search or aws cloud watch.

I suggest to

  1. Remove toString() generation
  2. Add annotation @lombok.Data on each java entity
  3. Add lombok as compileOnly dependency for helium-java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions