DDD-friendly representation interfaces and value abstractions shared across GuicedEE modules.
- Value objects and representation interfaces for consistent DTOs and messages
- Topic-first naming that aligns with project glossaries
- Immutable-by-default patterns recommended for safety
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>guiced-representations</artifactId>
</dependency>
public record EmailAddress(String value) {
public EmailAddress {
if (value == null || !value.contains("@")) throw new IllegalArgumentException("invalid email");
}
}
- Rules:
RULES.md - Guides:
GUIDES.md - Architecture:
docs/architecture/README.md
- Issues/PRs welcome. Use glossary-aligned names and keep docs updated.
- Apache 2.0 — see
LICENSE.