Skip to content

3.6.5

Choose a tag to compare

@dariuszkuc dariuszkuc released this 25 Oct 02:44
· 6 commits to 3.x.x since this release
7f37f24

Patch Changes

  • [3.x.x] backport fixes for client concurrency and custom scalars bug #917

    Fixes:

    • update parameterizedType cache used by the clients to use concurrent hash map - when client was used in multithreaded environment it was possible to encounter ConcurrentModificationException when multiple threads attempted to compute parameterized type. .
    • fix client generation when selecting custom scalars - when custom scalars (with converters) were referenced multiple times from selection set (e.g. from a common fragment) we would attempt to unwrap the converted scalar type when comparing generated object properties and next selection set fields. As a result even though it was the same selection we could still end up with multiple duplicate classes. Added explicit check to verify whether unwrapped property type is auto converted scalar type.