mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
dd46aa6715
When upgrading to GHC v9.4, we noticed a number of failures because the sort order of HashMaps has changed. With this changeset, I am endeavoring to mitigate this now and in the future. This makes one of two changes in a few areas where we depend on the sort order of elements in a `HashMap`: 1. the ordering of the request is preserved with `InsOrdHashMap`, or 2. we sort the data after retrieving it. Fortunately, we do not do this anywhere where we _must_ preserve order; it's "just" descriptions, error messages, and OpenAPI metadata. The main problem is that tests are likely to fail each time we upgrade GHC (or whatever is providing the hash seed). [NDAT-705]: https://hasurahq.atlassian.net/browse/NDAT-705?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9390 GitOrigin-RevId: 84503e029b44094edbbc298651744bc2843c15f3 |
||
---|---|---|
.. | ||
author_articles_orderby_bigquery.yaml | ||
docs_query_mssql.yaml | ||
docs_query.yaml | ||
docs_subscription_mssql.yaml | ||
docs_subscription.yaml | ||
limit_offset_orderby_relationship_query.yaml | ||
limit_orderby_column_query.yaml | ||
limit_orderby_relationship_query.yaml | ||
limit_query.yaml | ||
orderby_array_relationship_query.yaml | ||
permissions_query_mssql.yaml | ||
permissions_query.yaml | ||
schema_setup_bigquery.yaml | ||
schema_setup_mssql.yaml | ||
schema_teardown_bigquery.yaml | ||
schema_teardown_mssql.yaml | ||
setup_bigquery.yaml | ||
setup_mssql.yaml | ||
setup.yaml | ||
simple_query_mssql.yaml | ||
simple_query.yaml | ||
teardown_bigquery.yaml | ||
teardown_mssql.yaml | ||
teardown.yaml |