Skip to content

Boilerplate Codegen for Domain Primitives

License

Notifications You must be signed in to change notification settings

QualityMinds/lazyval

Repository files navigation

Lazyval

⚠️
Unfortunately, Github Packages does not allow anonymous downloads of public packages. We are working on a solution to provide the artifacts via Maven Central.

What is Lazyval

Lazyval is a Java annotation processor & Kotlin symbol processor generating boilerplate code, often needed when modeling "Domain Primitives", which are simple, domain-specific wrapper types around primitives.

Currently Lazyval supports:

  • Mapstruct

  • JPA AttributeConverters

  • SPI for custom generators

    • Testkit

See the documentation for motivation and getting started.

Examples

You can find examples in the examples folder as well as within the Java Quarkus Integration-Test and Kotlin Spring Integration-Test

Contributing

Contributions are welcome! Please read our contributing guidelines before opening an issue or pull request.

License

This project is licensed under the [Apache License 2.0](LICENSE). You are free to use, modify, and distribute it under the terms of that license.

Cyber Resilience Act (CRA) Notice

Important Notice regarding the EU Cyber Resilience Act (CRA): This project is a developer tool and does not constitute a "product with digital elements" as defined under the CRA. It is not executed in production environments, nor does it process data during runtime.

The responsibility for the security, compliance, and correctness of the generated code lies entirely with the user. If the generated clients are used in safety-critical or regulated domains, users must perform their own security and compliance assessments.

Disclaimer of Liability

This project provides templates and helper scripts on an "as-is" basis, without any warranties.

The maintainers do not accept any liability for:

  • the security or correctness of generated code,

  • suitability for use in any specific technical or regulatory context.

Use of this project is at your own risk. Always validate generated code in accordance with your organization’s quality and security standards.

About

Boilerplate Codegen for Domain Primitives

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •