Currently, the logic for selecting the right price list item based on the context belongs to the Price list price resolver, which means it cannot be invoked from somewhere else.

It'd be great if that logic could be abstracted to a separate service, so that it could be reused.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Status: Active » Needs review
FileSize
32.82 KB
jsacksick’s picture

FileSize
807 bytes
32.81 KB

  • jsacksick committed 88652b7 on 8.x-2.x
    Issue #3089665 by jsacksick: Introduce a price list repository.
    
jsacksick’s picture

Status: Needs review » Fixed

Committed!

eiriksm’s picture

Could we get a change record or a very prominent mention about this in the next release? :)

Since it changes the constructor, for people either extending or invoking the price resolver things might break.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.