Skip to content

Commit

Permalink
Add futher work section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed Mar 31, 2020
1 parent 2534192 commit abdbe80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,9 @@ type Sample {
You can run the example by `npm start` - it will run a `ts-node` with a special `ttypescript` compiler flag (`ts-node -C ttypescript src/example/index.ts`) that allows to apply the plugins defined in `tsconfig.json` during the TS files transpilation.

The transform plugin files are located in `src/transformer` directory. The example code (class source file and reading the metadata) are in `src/example` folder and the related supporting code is in `src/helpers` dir. In `src/sdl` you can find some simple helpers for creating GraphQL type SDL string for this demo purposes.

## Further work

This proof of concept supports only basic subset of types - primitive types, array, nullability.

There is a lot of work to do next, both on the reflection plugin side and the TypeGraphQL core side.

0 comments on commit abdbe80

Please sign in to comment.