960eef4934
Removed stray debug print
2022-12-30 16:10:19 +02:00
4db1d40759
Fixed creation of auth-type records in createRecord()
2022-12-30 16:09:44 +02:00
e44fbf3189
Added more exception types for handling various error codes
2022-12-30 14:23:56 +02:00
1027e5580f
- Improved error handling with more specific errors
...
- Error 404 (when a record is not found) is now translated into `RecordNotFoundException`
- Added documentation
- Added unittest updates to test the usage of `RecordNotFoundException` in `deleteRecord()`, `viewRecord()` and `updateRecord()`
2022-12-30 14:01:04 +02:00
0b0a8d2b31
Updated usage
2022-12-30 13:18:16 +02:00
98723c0772
SIlent when not using -ddbg
2022-12-30 13:14:20 +02:00
c651b9d515
- listRecords()
now returns an array of records
...
- Added unittests for `listRecords()`
2022-12-30 13:10:10 +02:00
1594943561
Updated usage
2022-12-29 21:37:28 +02:00
c2597788d7
- Implemented viewRecord()
...
- Added unittests for `viewRecord()`
2022-12-29 21:30:52 +02:00
9cfed9b33d
- updateRecord()
now returns the updated record
2022-12-29 19:56:40 +02:00
1eab9e19b3
- Fixed compilation error when using meta-programming techniques in updateRecord()
...
- Added unittests for `updateRecord()`
2022-12-29 19:54:16 +02:00
b894b6e1c6
Updated usage examples with record management and updated assertions
2022-12-29 19:47:27 +02:00
0cd17f976e
- Added test case for object de-serialization
2022-12-29 19:39:45 +02:00
8b2ce3bce2
Added schema for unit tests
2022-12-29 18:48:54 +02:00
626660216b
- Ensure that any generic RecordType has an id
field of type string
...
- `createRecord()` now returns the record created
- Implemented record deletion via `deleteRecord()`
- Removed unused alias
- Added assert on failure to deserialize
- Added record creation and deletion unit tests
2022-12-29 18:42:32 +02:00
e5e75f1712
Silent debug
2022-12-29 17:14:36 +02:00
4046f15230
Added enum support
2022-12-29 17:13:56 +02:00
ccc2a5cf31
Make testing prints and pragmas only enabled under -ddbg
flag
2022-12-29 15:55:08 +02:00
a3d19fc515
Renamed module
2022-12-29 15:41:22 +02:00
0c4eecaad3
- Added example usage of serialization/deserialization to README
...
- Changed targetType in dub.json to library
2022-12-29 15:28:51 +02:00
3c6a81791b
Initial commit
2022-12-29 15:24:07 +02:00