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

[go] support memberid x category filter #188

Merged
merged 1 commit into from
Dec 22, 2024
Merged

[go] support memberid x category filter #188

merged 1 commit into from
Dec 22, 2024

Conversation

yssk22
Copy link
Owner

@yssk22 yssk22 commented Dec 22, 2024

Summary

current member filter and category filter is not so flexible and doesn't support the case when I want to see "everything" for risachi while I want to see only daily photo and FSK for yuppyon.

This change enable such a complex filter.

Test

  • go test
  • graphql playground
query helloprojectQuery {
    helloproject {
      elineupMallItems(params: {
        memberCategories: [
          {
            memberId:"8590783732",
            categories: [keyring_other],
          },
          {
            memberId:"8590783733",
            categories: [keyring_other],
          },
        ]
      }) {
        edges {
          node {
            id
            name
            category
            taggedMembers {
              id
              name
            }
          }
        }
      }
    }
}

Issue

**Summary**

current member filter and category filter is not so flexible and doesn't support the case when
I want to see "everything" for risachi while I want to see only daily photo and FSK for yuppyon.

This change enable such a complex filter.

**Test**

- go test
- graphql playground

```
query helloprojectQuery {
    helloproject {
      elineupMallItems(params: {
        memberCategories: [
          {
            memberId:"8590783732",
            categories: [keyring_other],
          },
          {
            memberId:"8590783733",
            categories: [keyring_other],
          },
        ]
      }) {
        edges {
          node {
            id
            name
            category
            taggedMembers {
              id
              name
            }
          }
        }
      }
    }
}
```

**Issue**

- #116
@yssk22 yssk22 merged commit 9f2168e into main Dec 22, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant