Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Currency misspelled in graphql attributes #465

Merged
merged 3 commits into from
Mar 26, 2019

Conversation

XxXgeoXxX
Copy link
Member

Description (*)

Issue #464

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@TomashKhamlai
Copy link
Contributor

Here @naydav requested to keep both values because of BIC (Backward Incompatible Change). Read more about BIC because this could be also requested here. But don't push any commits while not requested. It's just information, not request.

backward-incompatible-changes
backward-compatible-development

@@ -10,8 +10,8 @@ type Query {
type Currency {
base_currency_code: String
base_currency_symbol: String
default_display_currecy_code: String
Copy link
Contributor

Choose a reason for hiding this comment

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

It will Backward Incompatible Changes
We need to mark old fields as deprecated instead of removing them
thanks

Copy link
Member Author

Choose a reason for hiding this comment

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

Fields were marked as deprecated

@@ -10,8 +10,10 @@ type Query {
type Currency {
base_currency_code: String
base_currency_symbol: String
default_display_currecy_code: String
default_display_currecy_symbol: String
default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.")
Copy link
Contributor

@naydav naydav Mar 13, 2019

Choose a reason for hiding this comment

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

Looks like we can use names like code, default_code etc
It's part of a single object so we don't need to duplicate object name in object fields
BUT old fields should not be removed, just marked as deprecated

@ghost
Copy link

ghost commented Mar 26, 2019

Hi @XxXgeoXxX, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

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.

4 participants