issues
search
surrealdb
/
surrealdb.java
SurrealDB SDK for Java
https://surrealdb.com
Apache License 2.0
67
stars
21
forks
source link
Replace DTOs with java records
#20
Closed
eharrow
closed
1 year ago
eharrow
commented
1 year ago
Please consider this simple refactoring PR:
Replaces the use of the java DTO with logbook pattern with the new immutable Java Records instances.
Upgrades Gson to a newer version supporting Java Records when marshalling the response.
A fair bit of simple boilerplate code removed.
It possibly removes the need for the Lombok dependency.
Current unit tests all green.
Please consider this simple refactoring PR: