little-bear-labs / aws-utils

Apache License 2.0
56 stars 35 forks source link

Feature request: Aurora (RDS) Serverless support #131

Open DaKaZ opened 5 years ago

DaKaZ commented 5 years ago

First - thank you for this amazing library, I am shocked there are only 39 stars on it!

We are using it serverless-appsync-offline currently. On a new project, we are planning on using Aurora Serverless in appsync (https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-rds-resolvers.html) - while this is technically still only in beta and may explain why support is limited, I'd really like to start using it for our app as its better suited for an RDS then noSQL. But.... I'm incredibly hesitant to start working on anything that I can't do offline/testing on.

So my request is for Aurora emulation that serverless-appsync-offline can use OR a recipe for how to properly emulate this using MySQL locally (if someone has already come across doing this).

cbaron commented 5 years ago

@DaKaZ -- happy to know another emulator user!

This feature isn't on my current roadmap, but the team here at Conduit will certainly discuss prioritizing it.

My guess is that we'd simply want to add some configuration that points to a mysql or postgres instance, and implement some rdsSource.js file which handles the appsync emulation. You're certainly welcome to make a contribution to this repo -- let us know if we can help get you started.