Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Simplify internal logic #54

Merged
merged 10 commits into from
Sep 22, 2016
Merged

Simplify internal logic #54

merged 10 commits into from
Sep 22, 2016

Conversation

sstok
Copy link
Contributor

@sstok sstok commented Sep 21, 2016

Q A
Bug Fix? yes
New Feature? no
BC Breaks? no
Deprecations? no
Fixed Tickets

* The `currency_field` and `input_field` options are removed.
* When the value is a string without currency it's transformed with the `currency` option.
* When the value is a string with a currency, eg. `EUR 12.00` it's transformed with 'EUR' currency.
* When the value is an array, the keys `currency` and `amount` are expected to be present.
   Currency can be `null`, then the value of the `currency` option is used.
This extension has been broken since the refactoring of the Datagrid. And it’s more a niche use-case anyway.
And some tests for PreloadedExtension
@sstok sstok merged commit f4ad3d3 into rollerworks-graveyard:master Sep 22, 2016
sstok added a commit that referenced this pull request Sep 22, 2016
This PR was merged into the master branch.

Discussion
----------

|Q            |A  |
|---          |---|
|Bug Fix?     |yes|
|New Feature? |no |
|BC Breaks?   |no |
|Deprecations?|no |
|Fixed Tickets|   |

Commits
-------

f790e6f Simplify ActionType internal logic
62a5ea8 Remove dead code in ColumnOrderExtension
872e7b0 Refactor MoneyType and transformer
de2d908 Remove precision from IntegerToLocalizedStringTransformer
fd81ee4 Type hints for Core Extension transformer classes
358c50a Remove broken ColumnOrder Extension
13e60ce Stricter checking of ‘empty_value’ in TextType
c7a7dae Rewrote some code to be less complex
59f28b2 Fix PreloadedExtension compatibility
f4ad3d3 correct CS
@sstok sstok deleted the refactor-simplify branch September 22, 2016 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant