@nhtio/lucid-resourceful 0.1.0-master-afa3fbd6 → 0.1.0-master-2e6e0518

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4563,7 +4563,8 @@ const getFilterablePropertiesFromModel = (model, depth = 0) => {
4563
4563
  if (depth > 1) {
4564
4564
  return [];
4565
4565
  }
4566
- const cached = filterablePropertiesForModelCache.get(model);
4566
+ const cacheKey = `${model.name}:${depth}`;
4567
+ const cached = filterablePropertiesForModelCache.get(cacheKey);
4567
4568
  if (cached) {
4568
4569
  return cached;
4569
4570
  }
@@ -4608,7 +4609,7 @@ const getFilterablePropertiesFromModel = (model, depth = 0) => {
4608
4609
  return { [k]: { type: "unknown" } };
4609
4610
  })
4610
4611
  );
4611
- filterablePropertiesForModelCache.set(model, returnable);
4612
+ filterablePropertiesForModelCache.set(cacheKey, returnable);
4612
4613
  return returnable;
4613
4614
  };
4614
4615
  const capitalizeFirstLetterOfString = (str) => {
@@ -17279,7 +17280,7 @@ async function configure(command) {
17279
17280
  }
17280
17281
  ]);
17281
17282
  }
17282
- const version = "0.1.0-master-afa3fbd6";
17283
+ const version = "0.1.0-master-2e6e0518";
17283
17284
  export {
17284
17285
  registerRelationCacheTargetsForModel as a,
17285
17286
  resourcefulColumn as b,
@@ -17296,4 +17297,4 @@ export {
17296
17297
  version as v,
17297
17298
  withResourceful as w
17298
17299
  };
17299
- //# sourceMappingURL=index-C3ibkB25.js.map
17300
+ //# sourceMappingURL=index-D5qgrKaD.js.map