Skip to content

Commit

Permalink
VCST-2031: Sync VendorType and RatingType for Products and Variations. (
Browse files Browse the repository at this point in the history
#19)

fix: Synced VendorType and RatingType for Products and Variations.
  • Loading branch information
OlegoO authored Oct 21, 2024
1 parent 62866b9 commit ab0aa5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VirtoCommerce.XCatalog.Core/Schemas/VariationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ public VariationType(IMediator mediator)
return response.Slug;
}, description: "Request related slug for product");

ExtendableField<NonNullGraphType<VendorType>>(
ExtendableField<VendorType>(
"vendor",
"Product vendor",
resolve: context => context.Source.Vendor);

ExtendableField<NonNullGraphType<RatingType>>(
ExtendableField<RatingType>(
"rating",
"Product raiting",
resolve: context => context.Source.Rating);
Expand Down

0 comments on commit ab0aa5f

Please sign in to comment.