-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
) | ||
}) | ||
|
||
test('import schema gql default', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test('import schema gql default', () => { | |
test('import schema gql const', () => { |
One reason this is important, as stated by @maticzav in slack:
|
Can you please describe the use case in more detail? I haven't a problem with it. Thank you. |
@steida I'll let @maticzav expand on the However users should be able to import from TypeScript files anyways. There are quite a few examples by and of Apollo servers using the |
Hey @steida 👋, So, the reason why this is important is that firstly, Apollo users to my understanding had to import and parse their schema during the runtime, and secondly, deployed applications couldn't work with Now 2.0. The reason behind this is that Now uses I hope this gives you a good enough idea 🙂 |
@maticzav Thank you. Btw, deployed API works for me here in https://github.com/este/este |
This PR adds support for importing the schema from typescript files.