sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
950 stars 186 forks source link

fix: Deployment using serverless-compose #636

Open timo92 opened 2 months ago

timo92 commented 2 months ago

When using serverless-compose to deploy services the current working directory is set to the cwd of the shell. This also occurs when using the --config flag to define the path to the serverless.yml in a different directory.

This PR sets the cwd used by globby to find the GraphQL schema files to the directory of the serverless.yml of the service which matches the behavior described in the documentation.

bboure commented 2 months ago

Thank you. This makes sense.