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

Fix several types when serializing/deserializing #538

Merged
merged 1 commit into from
Feb 12, 2019
Merged

Conversation

aseure
Copy link
Contributor

@aseure aseure commented Feb 8, 2019

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue
Need Doc update so

Describe your change

  • Fix serialization/deserialization of ignorePlurals

What problem is this fixing?

Because wrong types where used when serializing/deserializing, some parameters or types could not be used properly.

…urals

Currently, ignorePlurals, which could be either a boolean or a list of
languages (as strings) is serialized to boolean or comma-separated
string of languages, which is incorrect.

This commit now correctly serialize ignorePlurals as either a boolean or
an array of strings, and conversely when deserializing.
@aseure aseure merged commit b283600 into master Feb 12, 2019
@aseure aseure deleted the fix-types branch February 12, 2019 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants