AlphaOmegaA
Convex Community10mo ago
14 replies
AlphaOmega

TS2589: Type instantiation is excessively deep and possibly infinite.

Getting this when calling internal and api like here

   await ctx.runMutation(internal.services.parkingSpot.createMany, {
      data: spots.map((parkingSpot) => ({
        categories: parkingSpot.categories,
        parkingLot: parkingLotId,
      })),
    });



What can I do?
Screenshot_2025-04-05_at_11.51.51_PM.png
Was this page helpful?