Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce push configuration #57

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Introduce push configuration #57

merged 2 commits into from
Jul 7, 2023

Conversation

stelabouras
Copy link
Collaborator

Introduces the TXPushConfiguration object that can hold the different configuration options available for the push translations functionality and adds any missing options:

  • Adds overrideTags, overrideOccurrences, keepTranslations and dryRun options.
  • Moves purge inside the TXPushConfiguration.
  • Ensures that the proper JSON keys are used when encoding the above options.
  • Adds documentation.
  • Replaces the purge argument of the pushTranslations() methods with the TXPushConfiguration object, ensuring that the default value holds the correct default values for each option.
  • Fixes small typo on README.

Introduces the `TXPushConfiguration` object that can hold the different
configuration options available for the push translations functionality
and adds any missing options:

* Adds `overrideTags`, `overrideOccurrences`, `keepTranslations` and
`dryRun` options.
* Moves `purge` inside the `TXPushConfiguration`.
* Ensures that the proper JSON keys are used when encoding the above
options.
* Adds documentation.
* Replaces the `purge` argument of the `pushTranslations()` methods
with the `TXPushConfiguration` object, ensuring that the default value
holds the correct default values for each option.
* Fixes small typo on README.
n1k0sv
n1k0sv previously approved these changes Jul 7, 2023
* Bumps `TXNative.version` to 2.0.0.
* Updates CHANGELOG with the changes implemented for 2.0.0.
@n1k0sv n1k0sv merged commit aa97b51 into devel Jul 7, 2023
@n1k0sv n1k0sv deleted the stelios/push-configuration branch July 7, 2023 12:25
@txsentinel txsentinel mentioned this pull request Jul 7, 2023
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.

2 participants