serverless-appsync-plugin icon indicating copy to clipboard operation
serverless-appsync-plugin copied to clipboard

fix: incorrect path to schema

Open DennisCiba opened this issue 1 year ago • 1 comments

After updating to serverless v4 I ran into an issue where the generated schema was always empty.

We are using serverless-compose, so we have a folder structure like this:

services/
  service-1/
    serverless.yml
  service-2/
    serverless.yml
serverless-compose.yml

It seems that the schema files are paths relative to the service directory, but the cwd is the root folder, thus none of the schema files can be found.

This PR should fix that problem and also resolve #648.

DennisCiba avatar Feb 05 '25 07:02 DennisCiba

will this be merged at any point? as v3 is no longer supported

PSoltes avatar May 16 '25 10:05 PSoltes

any update on this ?

umakantp avatar Sep 08 '25 19:09 umakantp

Thanks for the contribution, @DennisCiba! A new version will be published later this week.

AlexHladin avatar Sep 22 '25 15:09 AlexHladin

:tada: This PR is included in version 2.9.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Sep 22 '25 15:09 github-actions[bot]