MemoryUserRepository
Development-only in-memory implementation of UserRepository.
This adapter provides an in-memory storage solution for User entities, primarily for use in development and testing environments. It avoids the need for a persistent database during local execution.
Annotations:
@Singleton: Marks this class as a singleton bean in the Micronaut application context.
@Requires(env = "dev"): Ensures this implementation is only active in the "dev" environment.