Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda resolver documentation broken #581

Open
thordickinson opened this issue Mar 15, 2023 · 2 comments
Open

Lambda resolver documentation broken #581

thordickinson opened this issue Mar 15, 2023 · 2 comments

Comments

@thordickinson
Copy link

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.

appSync:
  resolvers:
    Query.user:
      functions:  # <- Here
        - dataSource:
            type: 'AWS_LAMBDA'
            config:
              function:
                timeout: 30
                handler: 'functions/getUser.handler'

Hope this helps the entire community

@andrew-sol
Copy link

Please fix this issue. This part of the docs is invalid: Inline DataSources.

@bboure
Copy link
Collaborator

bboure commented Oct 20, 2023

Sorry,

I'll fix this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants