aws-samples/iam-identity-center-team

Missing functions "teamupdateRequest" and "teamvalidateRequest" in GraphQL API

maunzCache opened this issue · 3 comments

Describe the bug
The GraphQL Schema in amplify/backend/api/team/schema.graphql generates two functions in the Query section which are absent from the function/ directory since the very first tagged version.

// [...]
  listGroups(
    groupIds: [String]
  ): Members
    @function(name: "teamListGroups-${env}")
    @auth(rules: [{ allow: private }])
  updateRequestData: requests
    @function(name: "teamupdateRequest-${env}")
    @auth(rules: [{ allow: private }])
  validateRequest: requests
    @function(name: "teamvalidateRequest-${env}")
    @auth(rules: [{ allow: private }])
// [...]

To Reproduce
Steps to reproduce the behavior:

  1. Check out main branch/clone repo
  2. npm ci
  3. amplify pull (requires an AWS deployment)
  4. amplify mock api

Expected behavior
The functions are either not missing or not generated into the GraphQL API Schema. It seems that this was an oversight when those lambda functions have been migrated into the step functions handling the updates.

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.

Still present

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.