Repository URL to install this package:
Version:
0.1.6 ▾
|
ruby_odata
/
CHANGELOG.md
|
---|
Service.execute
and Service.save_changes
used to return a single entity object if there was only one result returned. Now, the results are always an Enumerable (except in the case of boolean results like a delete), so if you just need one result, use the first
method on the result setfirst
) for accessing a single result by idNew Features
count
method (to QueryBuilder
) for returning a count from an OData servicenavigate
method (to QueryBuilder
) in order to handle filtering of childrenBug Fixes
Other
New Features
Bug Fixes
svc.load_property
from mutating the obj's metadata uri (thanks @sillylogger)Bug Fixes
Other
New Features
Bug Fixes
Other
BREAKING CHANGES
OData::ServiceError
. It has an http_code
property on it, thus, the message is now just the text from the OData error without the "HTTP Error XXX: " prefix. This could potentially cause you problems if you were sniffing error messages for the HTTP error code.New Features
is_key
added to PropertyMetadata
in order to determine the key properties for the class (found in the service's class_metadata
collection)BREAKING CHANGES
Bug Fixes
FunctionImport
, OData dropped the m:HttpMethod
attribute, see http://www.odata.org/2011/10/actions-in-odata/Other