Last updated
Was this helpful?
Last updated
Was this helpful?
Initialize the data access project:
From the azure-quickstart
directory open a command prompt or console and issue the following commands:
In VSCode choose File -> Add Folder to Workspace, choose data-access
.
VS Code should recognize that this is an Azure Functions Project, and click "Yes" to the dialog.
Choose File -> Save Workspace As... change the file name to sharethrift.code-workspace
and save in the serverless-quickstart
directory.
edit ./tsconfig.json add the following to the compilerOptions settings:
Replace ./graphql/index.ts with:
Replace ./graphql/function.json with:
edit the .vscode/launch.json file and change the port to 9230 as , and we don't want do have each developer modify their Dapr configuration.
It is typical to only use POSTs for interactions with Apollo through the API and GETs for interacting with the playground. Apollo can also be configured to allow for GETs when interacting with the API for cached results by using .
(~2 minutes)