dataloader-dotnet icon indicating copy to clipboard operation
dataloader-dotnet copied to clipboard

Code sample not working with Sql Server

Open wc-matteo opened this issue 7 years ago • 1 comments

I've changed this to optionsBuilder.UseSqlServer("<connection string>") (and installed the appropriate nuget packages).

This works:

{
  "query": "query { episodes { name } }"
}

This doesn't:

{
  "query": "query { episodes { name characters { name } } }"
}

All queries that use dataloader do not work. The request just hangs there, seemingly stuck in an infinite loop... could it be something related to async/await?

Debugging the code, it seems the task returned by LoadAsync never gets completed.

P.s. As an aside, InitTestData() fails because it tries to insert ids with identity insert off.

wc-matteo avatar Jul 28 '17 13:07 wc-matteo

I don't think this has anything to do with SQL Server. Any queries that use more than one call to LoadAsync just hang.

trbngr avatar Dec 22 '17 05:12 trbngr