lib/run-time/feathers/feathers-batch-loader.js
function batchLoaderFunc(graphqlType, serializeRecordKey, getRecords) {
  return keys => getRecords(keys)
    .then(resultArray => getResultsByKey(
      keys, extractAllItems(resultArray), serializeRecordKey, graphqlType,
      { onError: logger }
      )
    );
}
function batchLoaderFunc(graphqlType, serializeRecordKey, getRecords) {
  return keys => getRecords(keys)
    .then(resultArray => getResultsByKey(
      keys, extractAllItems(resultArray), serializeRecordKey, graphqlType,
      { onError: logger }
      )
    );
}
function batchLoaderFunc ( graphqlType , serializeRecordKey , getRecords ) { return keys => getRecords ( keys ) . then ( resultArray => getResultsByKey ( keys , extractAllItems ( resultArray ) , serializeRecordKey , graphqlType , { onError : logger } ) ) ; }
Key loader function for BatchLoader. Note that serializeBatchLoaderKey has already been passed to BatchLoader as cacheKeyFn
Key loader function for BatchLoader . Note that serializeBatchLoaderKey has already been passed to BatchLoader as cacheKeyFn