Skip to content

How to use introspection / Schema Awareness on React Native application? #1034

Answered by kitten
Svarto asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya 👋 This is pretty interesting. It looks like Node isn't resolving the direct file of .mjs here, which makes sense I suppose since it always expects the direct path. The interesting thing about this is that this does work in @urql/core.

For now you may want to make sure that Node doesn't load the .mjs file by directly referencing @urql/introspection/dist/urql-introspection.js but in the meantime I'll have a look at what's going on.

Can you let me know which version of Node you're using please?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Svarto
Comment options

Answer selected by Svarto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants