Skip to content

fix: allow graphql schema to build properly on Windows#680

Open
jtpage wants to merge 1 commit intosid88in:masterfrom
jtpage:jtpage/windows-path-schema-fix
Open

fix: allow graphql schema to build properly on Windows#680
jtpage wants to merge 1 commit intosid88in:masterfrom
jtpage:jtpage/windows-path-schema-fix

Conversation

@jtpage
Copy link

@jtpage jtpage commented Jan 8, 2026

Proposed changes

When using appsync-serverless-plugin on my Windows laptop, the serverless bundle fails to build properly (the Schema.Definition ends up being empty). Converting the back-slashes to forward-slashes resolves the issue.

Issue(s)

N/A

Steps to test or reproduce

  1. Create project with graphql schema and serverless appsync plugin
  2. Open project on Windows machine
  3. Attempt to deploy (e.g., sls deploy)
  4. Open .serverless/serverless-state.json
  5. Observe that GraphQlSchema.Definition is empty

@gjhommersom
Copy link

I can confirm that this is an issue on Windows. Would love to see this merged.

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 this pull request may close these issues.

2 participants