little-bear-labs / aws-utils

Apache License 2.0
56 stars 35 forks source link

Allow for multiple AppSync Api's in config #141

Closed barendb closed 5 years ago

barendb commented 5 years ago

As per this issue: https://github.com/ConduitVC/aws-utils/issues/140

This PR allows for multiple API's in the YML config as this is supported by serverless-appsync-plugin

custom: 
  appsync: 
    - name: 'api 1'
       ...
    - name: 'api 2'

But not to make things too complex, only use the first api in the emulator for now... I'm not going to implement that support it's over and beyond what's needed.

I'm throwing a warning to stipulate that it's not supported and which API will be used in the emulator.

cbaron commented 5 years ago

@barendb -- fantastic work!

Do you mind adding an update to the README and bumping the package patch version by 1?

barendb commented 5 years ago

@cbaron Updated 😃