little-bear-labs / aws-utils

Apache License 2.0
56 stars 35 forks source link

Extend flatten function usage to serverless object #154

Closed dirk39 closed 5 years ago

dirk39 commented 5 years ago

I moved flatten function to util.js and create method flatteningMappingTemplatesAndDataSources. In this way i can flatten mappingTemplates and dataSources when we load configuration from file and when serverless configuration object has been passed from outside (e.g. using serverless-appsync-offline plugin).

lightsofapollo commented 5 years ago

@cbaron Have a moment to take a look? I will give this a pass Wednesday if not.

cbaron commented 5 years ago

Thanks @dirk39 !