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 issue when JSON object map to raw String it loses quotes #2037

Merged

Conversation

sav007
Copy link
Contributor

@sav007 sav007 commented Mar 5, 2020

In case when JSON object / array is mapped to plain String call proper JSON serialization instead of value.toString().

Also it appears that UnmodifiableMapBuilder doesn't preserve order that seem really odd.

Closes #2012

In case when JSON object / array is mapped to plain `String` call proper JSON serialization instead of `value.toString()`.

Also it appears that `UnmodifiableMapBuilder` doesn't preserve order that seem really odd.

Bump version to `1.3.3`

Closes apollographql#2012
@sav007 sav007 self-assigned this Mar 5, 2020
gradle.properties Outdated Show resolved Hide resolved
@tasomaniac
Copy link
Contributor

I fixed the checkstyle issue but now tests are failing. Can you have a look?

@sav007 sav007 merged commit dca020e into apollographql:hotfix/1.3.3 Mar 6, 2020
@sav007 sav007 deleted the bug-2012/json-object-string branch March 6, 2020 20:33
sav007 added a commit that referenced this pull request Mar 7, 2020
* Ignore BOM symbol when parsing GraphQL schema (#2039)

Closes #2017

* Fix issue when JSON object map to raw String it loses quotes (#2037)

* Fix issue when JSON object map to raw String it loses quotes

In case when JSON object / array is mapped to plain `String` call proper JSON serialization instead of `value.toString()`.

Also it appears that `UnmodifiableMapBuilder` doesn't preserve order that seem really odd.

Bump version to `1.3.3`

Closes #2012

* Revert version back

* Update apollo-api/src/main/java/com/apollographql/apollo/response/ScalarTypeAdapters.java

* Fix tests

Co-authored-by: Said Tahsin Dane <[email protected]>

* Fix issue with lowercase enum type names (#2045)

Closes #1901

* Change version to snapshot

* release 1.3.3

* version is now 1.3.4-SNAPSHOT

Co-authored-by: Ivan Savytskyi <[email protected]>
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