docs icon indicating copy to clipboard operation
docs copied to clipboard

[Feedback]More detailed or "advanced" documentation for add-graphql-datasource

Open cookmscott opened this issue 4 years ago • 4 comments

Page: /cli/graphql-transformer/relational

Feedback:

The amplify add-graphql-datasource got me started for basic GraphQL queries against my AuroraDB. Unfortunately, I'm not sure where to go from here. It would be great if there were additional details on:

  • how to update schema.graphql to include @connections to reflect table relationships ** maybe adding a second part of the docs to show how to setup/query a customer and their orders (across tables) ** do you need to make custom resolvers? ** if you don't get table relations out of the box, you should not include an example with customers and orders.
  • setting user permissions for resources since @auth is not supported

cookmscott avatar Sep 23 '20 02:09 cookmscott

Thanks @cookmscott - this should be enough info for us to improve the docs. Stay tuned

mauerbac avatar Sep 24 '20 20:09 mauerbac

Sounds great @mauerbac , I look forward to seeing some additional details!

Updated docs will certainly be a great first step, but I also think a full blown example would be very helpful. Currently the AppSync + Aurora sample is archived: https://github.com/amazon-archives/aws-appsync-rds-aurora-sample

cookmscott avatar Sep 25 '20 19:09 cookmscott

What we have is just the setup to plug the AuroraDB to AppSync. However, if you look at DynamoDB there are tons of documentation for setup, directives (auth, model, connection, etc...), and other advanced features.

It's been 18 months since the support for AuroraDB was announced, there is hardly any improvement with functionality and documentation.

I have been testing hasura every time I'm getting blocked on Amplify/AuroraDB. So far hasura seems to be working great with AWS RDS, I'm just reluctant to pick it as it'll add another operational task to keep an eye on! If things don't improve I might just make that decision and save my countless hours of searching for how to do in Amplify/AuroraDB!

Note: I do not have any allegiance with any tool/framework. I'm trying to use what is best and easy according to my capabilities and knowledge.

Edit: Corrected from 6 to 18 months. Oh my! We are in 2020! 😸

stayingcool avatar Oct 08 '20 01:10 stayingcool

18 months... This is crazy, and they won't even respond here.

idanlo avatar Jan 06 '21 17:01 idanlo

Hi - I'm closing this issue because we're deprecating the existing workflow in favor of a new experience as part of the new GraphQL Transformer. You can follow along our progress in this RFC: https://github.com/aws-amplify/amplify-category-api/issues/815

renebrandel avatar Nov 17 '22 04:11 renebrandel