Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Downloading the project definition with content doesn't always work on Windows #769

Closed
marktani opened this issue Oct 11, 2017 · 2 comments

Comments

@marktani
Copy link
Contributor

What is the current behavior?

On Windows, the zip containing the project definition with file content obtained from the project settings in the Console for a project that contains either

  • a permission query
  • a resolver

does not include the actual function/query files, but references them in the graphcool.yml file, when downloading the zip on Windows. Maybe this is triggered by a special function/permission file name as well (spaces?).

What is the expected behavior?

The zip should contain those files.

@kbrandwijk
Copy link
Contributor

kbrandwijk commented Oct 11, 2017

The zip file doesn't work on Windows because of the './' prefix in the filename. If that is removed, the Zip file can be opened successfully on Windows.

See: https://gist.github.com/kbrandwijk/e193e96e74abd41144e71dc916ffdd57

@marktani
Copy link
Contributor Author

This issue has been moved to graphcool/graphcool-framework.

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

No branches or pull requests

4 participants