Open thordickinson opened 1 year ago
Hey folks, I think that there is a small error in the documentation. The sample shows this, as the way to define a lambda resolver:
appSync: resolvers: Query.user: dataSource: type: 'AWS_LAMBDA' config: function: timeout: 30 handler: 'functions/getUser.handler'
But that sample is missing the functions property, which it makes impossible to create a lambda resolver, this would be the fix.
functions
appSync: resolvers: Query.user: functions: # <- Here - dataSource: type: 'AWS_LAMBDA' config: function: timeout: 30 handler: 'functions/getUser.handler'
Hope this helps the entire community
Please fix this issue. This part of the docs is invalid: Inline DataSources.
Sorry,
I'll fix this asap.
Hey folks, I think that there is a small error in the documentation. The sample shows this, as the way to define a lambda resolver:
But that sample is missing the
functions
property, which it makes impossible to create a lambda resolver, this would be the fix.Hope this helps the entire community