entify 0.2.2
entify: ^0.2.2 copied to clipboard
A toolkit to ease the use of the datastore with the googleapis package.
0.2.2 #
Entity: fixedpropertyNamesaddedtoStringWrappedServerErrorwill tell about the wrapped error intoString- Added a
nullcheck for thekindin theKeyconstructor - Incomplete
Keyvalues are checked (they can still fail mutations if they are in a list) - Added
EntityBridgemethods that can be used as predicates:entityKindMatchesandkeyKindMatches
0.2.1+1 #
- Fixed blob value handling
0.2.1 #
- Added
indexedIfNonNull. - Entity now supports accessing property names, so properties are now enumerable.
- Empty commits are handled.
- The
setPropertiesFromin theEntityclass allows future proof entity updates.
0.2.0 #
- Added support for transactions.
- Renamed
MutationBatch.executeandexecuteRawtocommit. Theexecutemethods are deprecated now and will be removed in a future release.
0.1.2+2 #
- Setters are optional for properties in entity model classes
0.1.2+1 #
- Handles
nullvalues infromValuebetter - Throws error if the entity model class does not have a key
0.1.2 #
- Renamed
fromProtocoltofromApiObjectinKeyandEntityto follow common naming convention fromValuenow handles empty values (treats them asnull)Entitythrows more meaningful errors infromApiObject
0.1.1+3 #
- Added
createKeymethod toEntityBridge - Created
QueryResultinterface
0.1.1 #
- The
boolparameter oftoValuebecame a named parameter as it is recommended.