message: Deprecate `memory.records().get()`
diff: /* eslint-disable valid-jsdoc */
  +import Orbit from '@orbit/core';
  import { clone, Dict } from '@orbit/utils';
  import { Record, RecordIdentity, equalRecordIdentities } from '@orbit/data';
  import {
  @@ -8,6 +9,8 @@ import {
  } from '@orbit/record-cache';
  import { ImmutableMap } from '@orbit/immutable';
  +const { deprecate } = Orbit;
  +
  export interface MemoryCacheSettings extends SyncRecordCacheSettings {
  base?: MemoryCache;
  }
  @@ -34,6 +37,17 @@ export default class MemoryCache extends SyncRecordCache {
  return this._records[identity.type].get(identity.id);
  }
  + records(type: string) {
  + deprecate(
  + '`records(type).get(id)` is deprecated, use `getRecordSync(identity)`.'
  + );
  + return {
  + get: (id: string) => {
  + return this.getRecordSync({ type, id });
  + }
  + };
  + }
  +
  getRecordsSync(typeOrIdentities?: string | RecordIdentity[]): Record[] {
  if (Array.isArray(typeOrIdentities)) {
  const records: Record[] = [];
  