gomcodoctor
gomcodoctor
I have debugged it, issue occur when we serialize "$urlGenerator" ( which is router service ) in OriginalRouteExtractor, because router service has Closure {#364 ▼ class: "appDevDebugProjectContainer
@ElectricMaxxx ya i think `Serializeable` is only solution or disable cache, lets wait for @wouterj 's reply
as per my understanding - he is trying to cache all extractors OBJECT applicable to given object or resource, extractor which has dependency on other service is prone to this...
@wouterj thanks for reply. There are few more suggestions if you going to edit cache part 1. currently it do no take care of dev mode of environment, it always...
@ElectricMaxxx you are right, I think we do not need cache when number of extractors are very small, cache will be useful when there are hundreds of extractors
Same issue here.. need to have specific order of properties in csv
Any ETA for this bug fix?
I already added validation on change quantity request, it working fine. issue with adding new product to cart request validation - we can add validation like above but it will...
We have to implement this https://github.com/Sylius/Sylius/blob/a70a38983770583c706991abd3328f2b77e7c42e/src/Sylius/Bundle/CoreBundle/Validator/Constraints/CartItemAvailabilityValidator.php this is request which is currently validated https://github.com/Sylius/ShopApiPlugin/blob/master/src/Request/Cart/PutVariantBasedConfigurableItemToCartRequest.php this is handler https://github.com/Sylius/ShopApiPlugin/blob/master/src/Handler/Cart/PutVariantBasedConfigurableItemToCartHandler.php
ya we can reuse validator, i think its better to add validator directly in https://github.com/Sylius/ShopApiPlugin/blob/master/src/Handler/Cart/PutVariantBasedConfigurableItemToCartHandler.php this is will save double queries