The HotChocolate [Serial] attribute forces selected GraphQL operations to execute one after another instead of concurrently. This protects a shared, scoped ApplicationDbContext from overlapping database operations. section 10.2.3
Query resolver configuration
[Serial] [UsePaging] [UseProjection] [UseFiltering] [UseSorting] public IQueryable<BoardGame> GetBoardGames([Service] ApplicationDbContext context) => context.BoardGames;
Serial execution is a practical workaround for the sample API. A production GraphQL API may instead register an ApplicationDbContext factory, allowing separate context instances. section 10.2.3
