Proposed resolution
- Extract
MyrestPriceBuilderbehind an interface. - Decide with issue 62 whether the calculation helpers live here and are injected into the paragraph builder, or the reverse.
- Add unit tests for the numeric parsing, which currently accepts arrays, comma decimal separators and raw strings without any coverage.
Remaining tasks
Coordinate the split with issue 62, then extract.
User interface changes
None.
API changes
New MyrestPriceBuilderInterface. Facade methods deprecated.
Issue fork myrest-3616674
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented