Skip to content

feat: reviews mutation resolver - #2650

Merged
Guilera merged 5 commits into
feat/reviews-and-ratingsfrom
feat/reviews-mutation-resolver
Feb 12, 2025
Merged

Guilera merged 5 commits into
feat/reviews-and-ratingsfrom
feat/reviews-mutation-resolver

Conversation

@Guilera

@Guilera Guilera commented Jan 29, 2025 •

Copy link
Copy Markdown
Contributor

⚠️ THIS PR DEPENDS ON PR#2647 ⚠️

What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review to be created

How it works?

It defines a few new types and adds a new mutation resolver called: createProductReview

How to test it?

run the api graphql server locally with the following command:

yarn dev:server

and make a query call

References

JIRA TASK: SFS-2095
API Reviews Docs

Checklist

You may erase this after checking them all 😉

PR Description

  • Adds graphQL types
  • Creates a new mutation resolver for Reviews

@Guilera
Guilera requested a review from a team as a code owner January 29, 2025 19:41
@Guilera
Guilera requested review from emersonlaurentino and lucasfp13 and removed request for a team January 29, 2025 19:41
@vercel

vercel Bot commented Jan 29, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview Jan 30, 2025 3:00pm

@Guilera
Guilera requested review from eduardoformiga and lariciamota and removed request for emersonlaurentino and lucasfp13 January 29, 2025 19:41
@Guilera Guilera added the depends on Depends on another PR - Please mention the PR label Jan 29, 2025
@Guilera Guilera changed the title Feat/reviews mutation resolver feat: reviews mutation resolver Jan 29, 2025
@codesandbox-ci

codesandbox-ci Bot commented Jan 29, 2025 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@pedromtec pedromtec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add some adjusts in the PR that this depends on. And do a rebase.

@Guilera
Guilera force-pushed the feat/reviews-mutation-resolver branch from b84d3f2 to f5d4227 Compare February 6, 2025 17:44
@pedromtec
pedromtec self-requested a review February 12, 2025 12:14

@pedromtec pedromtec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Guilera
Guilera force-pushed the feat/reviews-mutation-resolver branch from 49dce79 to 3012d0e Compare February 12, 2025 20:06
@Guilera
Guilera merged commit bde45a0 into feat/reviews-and-ratings Feb 12, 2025
@Guilera
Guilera deleted the feat/reviews-mutation-resolver branch February 12, 2025 20:09
Guilera added a commit that referenced this pull request Feb 14, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
Guilera added a commit that referenced this pull request Feb 18, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
artursantiago pushed a commit that referenced this pull request Feb 18, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
Guilera added a commit that referenced this pull request Feb 19, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
pedromtec pushed a commit that referenced this pull request Mar 11, 2025
>⚠️ THIS PR DEPENDS ON
[PR#2647](#2647) ⚠️

## What's the purpose of this pull request?

To add a reviews mutation resolver on graphQL for allowing a new review
to be created

## How it works?

It defines a few new types and adds a new mutation resolver called:
`createProductReview`

## How to test it?

run the api graphql server locally with the following command:
```bash
yarn dev:server
```
and make a query call

## References

[JIRA TASK: SFS-2095](https://vtex-dev.atlassian.net/browse/SFS-2095)
[API Reviews
Docs](https://developers.vtex.com/docs/api-reference/reviews-and-ratings-api#post-/reviews-and-ratings/api/review)

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Description**

- [ ] Adds graphQL types
- [ ] Creates a new mutation resolver for `Reviews`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depends on Depends on another PR - Please mention the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants