You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With maxmind-db 4.0.0, records automatically use their canonical
constructor for deserialization when no constructor is explicitly
annotated with @MaxMindDbConstructor. This change removes the
annotation from most records in the codebase.
Changes:
- Removed empty canonical constructors from records with no logic
- Removed @MaxMindDbConstructor from canonical constructors with
immutability/validation logic, relying on automatic detection
- Added useDefault=true to boolean parameters to leverage automatic
null-to-false conversion instead of manual Boolean→boolean handling
- Kept @MaxMindDbConstructor only for records requiring custom type
conversions (String→LocalDate in AnonymousPlusResponse, String→enum
in ConnectionTypeResponse and Traits)
- Removed unused MaxMindDbConstructor imports
All tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments