Skip to content

feat: rating resolvers - #2648

Merged
pedromtec merged 3 commits into
feat/reviews-and-ratingsfrom
feat/rating-resolvers
Feb 14, 2025
Merged

pedromtec merged 3 commits into
feat/reviews-and-ratingsfrom
feat/rating-resolvers

Conversation

@Guilera

@Guilera Guilera commented Jan 29, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

To add product rating resolvers on graphQL

How it works?

It defines a new type called: StoreProductRating and increments the query resolver for product and for searchResult

It was necessary to adapt the EnhancedSku type and also to adds a rating callback to the searchResult's promise resolution

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-2093

Checklist

You may erase this after checking them all 😉

PR Description

  • Adds graphQL Rating type
  • Increments product resolver
  • Increments searchResult resolver

@Guilera Guilera added the depends on Depends on another PR - Please mention the PR label Jan 29, 2025
@Guilera
Guilera requested a review from a team as a code owner January 29, 2025 15:09
@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 2:51pm

@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.

@Guilera
Guilera force-pushed the feat/rating-resolvers branch from f101791 to 5acced6 Compare January 29, 2025 15:47
@Guilera Guilera changed the title Feat/rating resolvers feat/rating-resolvers Jan 29, 2025
@Guilera Guilera changed the title feat/rating-resolvers feat: rating resolvers Jan 29, 2025
@Guilera Guilera mentioned this pull request Jan 29, 2025
5 tasks done
@Guilera
Guilera force-pushed the feat/rating-resolvers branch from 5acced6 to 285cca2 Compare January 30, 2025 14:31
@Guilera
Guilera force-pushed the feat/rating-resolvers branch from 285cca2 to 3aa24b5 Compare January 30, 2025 14:47
Comment thread packages/api/test/queries.test.ts Resolved
@Guilera
Guilera force-pushed the feat/rating-resolvers branch from 3aa24b5 to 165333d Compare February 6, 2025 17:36

@lucasfp13 lucasfp13 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/rating-resolvers branch from 2e032d2 to 6e5ce0d Compare February 12, 2025 20:09
This was referenced Feb 13, 2025
@pedromtec
pedromtec merged commit d57303d into feat/reviews-and-ratings Feb 14, 2025
@pedromtec
pedromtec deleted the feat/rating-resolvers branch February 14, 2025 13:26
Guilera added a commit that referenced this pull request Feb 14, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
artursantiago pushed a commit that referenced this pull request Feb 14, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
Guilera added a commit that referenced this pull request Feb 18, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
artursantiago pushed a commit that referenced this pull request Feb 18, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
Guilera added a commit that referenced this pull request Feb 19, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
pedromtec pushed a commit that referenced this pull request Mar 11, 2025
## What's the purpose of this pull request?

To add product rating resolvers on graphQL

## How it works?

It defines a new type called: `StoreProductRating` and increments the
query resolver for `product` and for `searchResult`

It was necessary to adapt the `EnhancedSku` type and also to adds a
rating callback to the searchResult's promise resolution

## 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-2093](https://vtex-dev.atlassian.net/browse/SFS-2093)

## Checklist

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

**PR Description**

- [ ] Adds graphQL Rating type
- [ ] Increments `product` resolver
- [ ] Increments `searchResult` resolver
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