You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if there was a way to either grab just specific operations from a specific file, or, alternatively, supply a path to a file containing fragments field as an argument to loader. i.e.
I'm guessing that this approach would be much simpler to implement than being able to have all of the queries and operations in a single file. I'm not an expert, but based on looking at what happens when you console.log a file that is loaded in with multiple operations, you would have to somehow extract the relevant properties/fields from the AST and make them available after parsing the file.
The text was updated successfully, but these errors were encountered:
It would be great if there was a way to either grab just specific operations from a specific file, or, alternatively, supply a path to a file containing fragments field as an argument to
loader
. i.e.or something to that affect.
I'm guessing that this approach would be much simpler to implement than being able to have all of the queries and operations in a single file. I'm not an expert, but based on looking at what happens when you
console.log
a file that is loaded in with multiple operations, you would have to somehow extract the relevant properties/fields from the AST and make them available after parsing the file.The text was updated successfully, but these errors were encountered: