NavidK0 / SimpleGraphQL-For-Unity

A simple graphQL client that allows one to use .graphql files (or code) for queries, mutations, and subscriptions with Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQLConfig Files list doesn't accept .graphql files

skjalgsm opened this issue · comments

I have a bunch of graphql files I'd like to use, but I cant drag them into the Files field in the GraphQLConfig.

When looking at the code, those files are actually ScriptableObjects which I can't create as they lack the appropriate menu item for it. How do I proceed?

Hi there! SimpleGraphQL contains a scripted importer that should automatically register the graphql files as a scriptable object type.

Are there any errors in console? Have you tried reimporting the graphql files? Double check the extension too (.graphql). The import code is located in Editor, but I believe nothing should've changed within the last few versions that would've broken it.

Wow, I'm an idiot. I stored them as .qraphql files

Ahh no worries, happens to the best of us 😅