Skip to content

Commit 4ab2e7e

Browse files
author
Gerald Baulig
committed
fix(protos): mark ordering EvaluateFulfillment and QueryFulfillmentSolution as Query
1 parent 7ea840b commit 4ab2e7e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/protos/io/restorecommerce/order.proto

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ service OrderService {
4141

4242
// Requires Fulfillment Service
4343
// Evaluates plausibility of the Fulfillment that would result from given order.
44-
rpc EvaluateFulfillment (OrderList) returns (io.restorecommerce.status.StatusListResponse);
44+
rpc EvaluateFulfillment (OrderList) returns (io.restorecommerce.status.StatusListResponse) {
45+
option (io.restorecommerce.options.is_query) = true;
46+
};
4547
// Requires Fulfillment Service
46-
rpc QueryFulfillmentSolution (FulfillmentRequestList) returns (io.restorecommerce.fulfillment_product.FulfillmentSolutionListResponse);
48+
rpc QueryFulfillmentSolution (FulfillmentRequestList) returns (io.restorecommerce.fulfillment_product.FulfillmentSolutionListResponse) {
49+
option (io.restorecommerce.options.is_query) = true;
50+
};
4751
// Requires Fulfillment Service
4852
rpc CreateFulfillment (FulfillmentRequestList) returns (io.restorecommerce.fulfillment.FulfillmentListResponse);
4953
// Requires Fulfillment Service

0 commit comments

Comments
 (0)