Skip to content

Commit

Permalink
Porting the TS connector to a pure Deno runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
sordina committed Sep 29, 2023
1 parent 9ee707f commit 5f0812c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# direnv
/.direnv

# vscode
.vscode
23 changes: 23 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

import {start} from 'https://raw.githubusercontent.com/hasura/ndc-sdk-typescript/main/src/server.ts';
import {Connector} from 'https://raw.githubusercontent.com/hasura/ndc-sdk-typescript/main/src/connector.ts';

console.log('hello world');

/**
* TODO:
*
* Create PR
* Share SDK issues with Benoit
* Resolve import errors for Deno (via import map?) for github.com/hasura/ndc-sdk-typescript
* Convert server.ts to connector protocol
* Remove rust harness
* Update docker to leverage deno implementation
* Do start-time inference on functions
* Have schema cache respecting flag --schema: /schema.json - Creates if missing, uses if present
* Manage src locations better
* CMD parsing library
* Subprocess library
* File-reading library
*
*/

0 comments on commit 5f0812c

Please sign in to comment.