getObject method
Implementation
@Operation.get("id")
Future<Response> getObject(@Bind.path("id") String id) async {
var primaryKey = _query!.entity!.primaryKey;
final parsedIdentifier =
_getIdentifierFromPath(id, _query!.entity!.properties[primaryKey]);
_query!.where((o) => o[primaryKey]).equalTo(parsedIdentifier);
_query = await willFindObjectWithQuery(_query);
InstanceType result = (await _query?.fetchOne())!;
return didFindObject(result);
}