Skip to content

Add Currency Type#62

Merged
ChristianRimondi merged 5 commits intomasterfrom
rainerd/53-add-currency-type
Jan 24, 2020
Merged

Add Currency Type#62
ChristianRimondi merged 5 commits intomasterfrom
rainerd/53-add-currency-type

Conversation

@rainerdema
Copy link
Copy Markdown
Contributor

@rainerdema rainerdema commented Dec 13, 2019

Quick Info

Issue Schema updates New type
#53 👍 👍
  • Add Types::Currency:
  • Add currencies in the Types::Store
    • Implementation
    • specs
  • Add currency in the Types::Price
    • Implementation
    • delete price_spec.rb
  • Fix the breaking change detection in CircleCI

Note

schema-breaking-change-detection fails because is necessary to deprecate the modified fields here: SolidusGraphqlApi::Types::PriceType
For the moment, since the gem hasn't yet been officially released, we don't bother to deprecate the fields.

@rainerdema rainerdema added the WIP Work in progress label Dec 13, 2019
@rainerdema rainerdema self-assigned this Dec 13, 2019
@rainerdema rainerdema force-pushed the rainerd/53-add-currency-type branch from a724733 to e7bac3d Compare December 13, 2019 17:48
@rainerdema rainerdema force-pushed the rainerd/53-add-currency-type branch 3 times, most recently from 0f4b87d to ace534c Compare January 17, 2020 11:47
@rainerdema rainerdema marked this pull request as ready for review January 17, 2020 11:49
@rainerdema rainerdema removed the WIP Work in progress label Jan 17, 2020
@rainerdema rainerdema requested review from AlessioRocco and ChristianRimondi and removed request for AlessioRocco January 17, 2020 13:43
@rainerdema rainerdema force-pushed the rainerd/53-add-currency-type branch 5 times, most recently from 2b4f820 to 249241d Compare January 24, 2020 12:59
Based on the `::Money::Currency` model.
Only the essential fields are taken into consideration.
- Add a generic `currencies` paginable node. This field return all the available currencies in the form of `Types::Currency`.
For more information about this:
https://github.com/solidusio/solidus/blob/7a336a71a80e3b0a447a522f6ef2b66965b0457e/core/lib/spree/app_configuration.rb#L262-L269
- Update expected_schema with all address fields.
Using command "bundle exec rake schema:idl"
Make the `schema_comparator` with the `origin/master` to avoid possible problems of corrupt files with the `master` branch in the server.
@rainerdema rainerdema force-pushed the rainerd/53-add-currency-type branch from 249241d to 561031b Compare January 24, 2020 13:01
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😼

Copy link
Copy Markdown
Contributor

@ChristianRimondi ChristianRimondi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ChristianRimondi ChristianRimondi merged commit a987d82 into master Jan 24, 2020
@ChristianRimondi ChristianRimondi deleted the rainerd/53-add-currency-type branch January 24, 2020 13:12
@rainerdema rainerdema mentioned this pull request Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants