2.2.0
版本发布时间: 2022-02-03 01:05:43
GraphQLSwift/GraphQL最新发布版本:2.10.1(2024-09-25 23:09:14)
If you encode a GraphQLResult with an ordinary JSONEncoder, there are no guarantees that the field order will match the query, violating the GraphQL spec.
This adds a GraphQLJSONEncoder type that a client can use to ensure that order is preserved when a Map is encoded. It is exactly the same as Foundation's JSONEncoder, but uses OrderedDictionary everywhere Dictionary was used.