Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphql schema files with more than one dot . in filename fail to upload or merge #80

Closed
gearoidgit opened this issue Jul 13, 2021 · 0 comments · Fixed by #81
Closed

Comments

@gearoidgit
Copy link

gearoidgit commented Jul 13, 2021

If the graphql file contains a dot in the file name, other than the one prefixing the extension, the Fauna extension doesn’t recognize the file as a graphql file.

For example if the file is named schema-0.1.0.gql or schema-0.1.0.graphql then the extension fails with the following error

You must select a Graphql document (.graphql or .gql) to upload a schema.

Filenames of schema-010.gql and scheam-010.graphql work.
It should be possible to use dots in the filename.

Platfrom: Linux
VSCode: 1.57.1
Fauna Extension: 1.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant