Jason Kuhrt

Results 363 comments of Jason Kuhrt

👋 Can you share the contents of `./src/makeExecutableSchema.ts`?

schema: ./src/makeExecutableSchema.ts Should be schema: ./src/schema.ts

@devautor thanks for confirming, it is a step in the right direction. Are you using at least [0.6.0-rc4](https://github.com/prisma/graphqlgen/releases/tag/0.6.0-rc4). Only starting from that version was it possible to import from TypeScript...

@devautor same to you :) I'll try to take a closer look at this tonight or failing that in the coming days.

Hey @maticzav on your end are you experiencing any issues having graphqlgen get schema from your TS module?

I only just published the new version. Give [0.6.0-rc6](https://github.com/prisma/graphqlgen/releases/tag/0.6.0-rc6) a try.

Can you show me the output of: ``` cat ./src/schema.ts ``` And then, what happens if you try this: ```yml # update your graphqlgen.yml to have this field: schema: test-schema.graphql...

@devautor since I don't have access to your project, and since you now have a hyper-minimal example schema working, can you start from the tester I gave you and incrementally...

@devautor what happens with (ts version): ``` > echo 'type Query {\n a: String\n} > test-schema.ts > graphqlgen ```

It’s as if graphqlgen is trying to parse the path to the file, rather than the file contents. I haven’t been able to repro. Can you make a small repo...