saleor / saleor-dashboard

A GraphQL-powered, single-page dashboard application for Saleor.
BSD 3-Clause "New" or "Revised" License
844 stars 1.11k forks source link

Endless refetch query in site settings #3432

Closed vetemi closed 1 year ago

vetemi commented 1 year ago

Description of the issue

When I open the site settings (under Configuration --> Site settings) it endlessly loads because it refetches the SiteSettings query endlessly. Therefore I cannot change and save anything.

Steps to reproduce the problem

  1. Login in Dashboard
  2. Go to Site Settings

Expected Result

Load SiteSettings once and let me change data

Actual Result

Don't refetch the same query over and over

Screenshots

I don't think Screenshots will help here

HTTP request and response from inspector

Request:

{
  "operationName": "SiteSettings",
  "variables": {
    "PERMISSION_MANAGE_USERS": true,
    "PERMISSION_MANAGE_STAFF": true,
    "PERMISSION_IMPERSONATE_USER": true,
    "PERMISSION_MANAGE_APPS": true,
    "PERMISSION_MANAGE_OBSERVABILITY": true,
    "PERMISSION_MANAGE_CHECKOUTS": true,
    "PERMISSION_HANDLE_CHECKOUTS": true,
    "PERMISSION_HANDLE_TAXES": true,
    "PERMISSION_MANAGE_TAXES": true,
    "PERMISSION_MANAGE_CHANNELS": true,
    "PERMISSION_MANAGE_DISCOUNTS": true,
    "PERMISSION_MANAGE_GIFT_CARD": true,
    "PERMISSION_MANAGE_MENUS": true,
    "PERMISSION_MANAGE_ORDERS": true,
    "PERMISSION_MANAGE_PAGES": true,
    "PERMISSION_MANAGE_PAGE_TYPES_AND_ATTRIBUTES": true,
    "PERMISSION_HANDLE_PAYMENTS": true,
    "PERMISSION_MANAGE_PLUGINS": true,
    "PERMISSION_MANAGE_PRODUCTS": true,
    "PERMISSION_MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES": true,
    "PERMISSION_MANAGE_SHIPPING": true,
    "PERMISSION_MANAGE_SETTINGS": true,
    "PERMISSION_MANAGE_TRANSLATIONS": true
  },
  "query": "query SiteSettings {\n  shop {\n    ...Shop\n    __typename\n  }\n}\n\nfragment Shop on Shop {\n  companyAddress {\n    ...Address\n    __typename\n  }\n  countries {\n    code\n    country\n    __typename\n  }\n  customerSetPasswordUrl\n  defaultMailSenderAddress\n  defaultMailSenderName\n  description\n  domain {\n    host\n    __typename\n  }\n  name\n  reserveStockDurationAnonymousUser\n  reserveStockDurationAuthenticatedUser\n  limitQuantityPerCheckout\n  __typename\n}\n\nfragment Address on Address {\n  city\n  cityArea\n  companyName\n  country {\n    __typename\n    code\n    country\n  }\n  countryArea\n  firstName\n  id\n  lastName\n  phone\n  postalCode\n  streetAddress1\n  streetAddress2\n  __typename\n}\n"
}

Response (little bit changed for sake of data privacy):

{
  "data": {
    "shop": {
      "companyAddress": {
        "city": "CITY",
        "cityArea": "",
        "companyName": "CompanyName",
        "country": {
          "__typename": "CountryDisplay",
          "code": "DE",
          "country": "Deutschland"
        },
        "countryArea": "",
        "firstName": "",
        "id": "someId",
        "lastName": "",
        "phone": "+4911111111111",
        "postalCode": "11111",
        "streetAddress1": "Street 1",
        "streetAddress2": "",
        "__typename": "Address"
      },
      "countries": [
        {
          "code": "AF",
          "country": "Afghanistan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AX",
          "country": "Åland Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AL",
          "country": "Albania",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DZ",
          "country": "Algeria",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AS",
          "country": "American Samoa",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AD",
          "country": "Andorra",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AO",
          "country": "Angola",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AI",
          "country": "Anguilla",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AQ",
          "country": "Antarctica",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AG",
          "country": "Antigua and Barbuda",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AR",
          "country": "Argentina",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AM",
          "country": "Armenia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AW",
          "country": "Aruba",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AU",
          "country": "Australia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AT",
          "country": "Austria",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AZ",
          "country": "Azerbaijan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BS",
          "country": "Bahamas",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BH",
          "country": "Bahrain",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BD",
          "country": "Bangladesh",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BB",
          "country": "Barbados",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BY",
          "country": "Belarus",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BE",
          "country": "Belgium",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BZ",
          "country": "Belize",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BJ",
          "country": "Benin",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BM",
          "country": "Bermuda",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BT",
          "country": "Bhutan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BO",
          "country": "Bolivia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BQ",
          "country": "Bonaire, Sint Eustatius and Saba",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BA",
          "country": "Bosnia and Herzegovina",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BW",
          "country": "Botswana",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BV",
          "country": "Bouvet Island",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BR",
          "country": "Brazil",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IO",
          "country": "British Indian Ocean Territory",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BN",
          "country": "Brunei",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BG",
          "country": "Bulgaria",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BF",
          "country": "Burkina Faso",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BI",
          "country": "Burundi",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CV",
          "country": "Cabo Verde",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KH",
          "country": "Cambodia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CM",
          "country": "Cameroon",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CA",
          "country": "Canada",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KY",
          "country": "Cayman Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CF",
          "country": "Central African Republic",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TD",
          "country": "Chad",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CL",
          "country": "Chile",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CN",
          "country": "China",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CX",
          "country": "Christmas Island",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CC",
          "country": "Cocos (Keeling) Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CO",
          "country": "Colombia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KM",
          "country": "Comoros",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CG",
          "country": "Congo",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CD",
          "country": "Congo (the Democratic Republic of the)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CK",
          "country": "Cook Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CR",
          "country": "Costa Rica",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CI",
          "country": "Côte d'Ivoire",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HR",
          "country": "Croatia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CU",
          "country": "Cuba",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CW",
          "country": "Curaçao",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CY",
          "country": "Cyprus",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CZ",
          "country": "Czechia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DK",
          "country": "Denmark",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DJ",
          "country": "Djibouti",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DM",
          "country": "Dominica",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DO",
          "country": "Dominican Republic",
          "__typename": "CountryDisplay"
        },
        {
          "code": "EC",
          "country": "Ecuador",
          "__typename": "CountryDisplay"
        },
        {
          "code": "EG",
          "country": "Egypt",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SV",
          "country": "El Salvador",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GQ",
          "country": "Equatorial Guinea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ER",
          "country": "Eritrea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "EE",
          "country": "Estonia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SZ",
          "country": "Eswatini",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ET",
          "country": "Ethiopia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "EU",
          "country": "European Union",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FK",
          "country": "Falkland Islands (Malvinas)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FO",
          "country": "Faroe Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FJ",
          "country": "Fiji",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FI",
          "country": "Finland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FR",
          "country": "France",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GF",
          "country": "French Guiana",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PF",
          "country": "French Polynesia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TF",
          "country": "French Southern Territories",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GA",
          "country": "Gabon",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GM",
          "country": "Gambia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GE",
          "country": "Georgia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "DE",
          "country": "Germany",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GH",
          "country": "Ghana",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GI",
          "country": "Gibraltar",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GR",
          "country": "Greece",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GL",
          "country": "Greenland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GD",
          "country": "Grenada",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GP",
          "country": "Guadeloupe",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GU",
          "country": "Guam",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GT",
          "country": "Guatemala",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GG",
          "country": "Guernsey",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GN",
          "country": "Guinea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GW",
          "country": "Guinea-Bissau",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GY",
          "country": "Guyana",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HT",
          "country": "Haiti",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HM",
          "country": "Heard Island and McDonald Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VA",
          "country": "Holy See",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HN",
          "country": "Honduras",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HK",
          "country": "Hong Kong",
          "__typename": "CountryDisplay"
        },
        {
          "code": "HU",
          "country": "Hungary",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IS",
          "country": "Iceland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IN",
          "country": "India",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ID",
          "country": "Indonesia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IR",
          "country": "Iran",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IQ",
          "country": "Iraq",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IE",
          "country": "Ireland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IM",
          "country": "Isle of Man",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IL",
          "country": "Israel",
          "__typename": "CountryDisplay"
        },
        {
          "code": "IT",
          "country": "Italy",
          "__typename": "CountryDisplay"
        },
        {
          "code": "JM",
          "country": "Jamaica",
          "__typename": "CountryDisplay"
        },
        {
          "code": "JP",
          "country": "Japan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "JE",
          "country": "Jersey",
          "__typename": "CountryDisplay"
        },
        {
          "code": "JO",
          "country": "Jordan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KZ",
          "country": "Kazakhstan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KE",
          "country": "Kenya",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KI",
          "country": "Kiribati",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KW",
          "country": "Kuwait",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KG",
          "country": "Kyrgyzstan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LA",
          "country": "Laos",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LV",
          "country": "Latvia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LB",
          "country": "Lebanon",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LS",
          "country": "Lesotho",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LR",
          "country": "Liberia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LY",
          "country": "Libya",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LI",
          "country": "Liechtenstein",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LT",
          "country": "Lithuania",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LU",
          "country": "Luxembourg",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MO",
          "country": "Macao",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MG",
          "country": "Madagascar",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MW",
          "country": "Malawi",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MY",
          "country": "Malaysia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MV",
          "country": "Maldives",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ML",
          "country": "Mali",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MT",
          "country": "Malta",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MH",
          "country": "Marshall Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MQ",
          "country": "Martinique",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MR",
          "country": "Mauritania",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MU",
          "country": "Mauritius",
          "__typename": "CountryDisplay"
        },
        {
          "code": "YT",
          "country": "Mayotte",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MX",
          "country": "Mexico",
          "__typename": "CountryDisplay"
        },
        {
          "code": "FM",
          "country": "Micronesia (Federated States of)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MD",
          "country": "Moldova",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MC",
          "country": "Monaco",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MN",
          "country": "Mongolia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ME",
          "country": "Montenegro",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MS",
          "country": "Montserrat",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MA",
          "country": "Morocco",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MZ",
          "country": "Mozambique",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MM",
          "country": "Myanmar",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NA",
          "country": "Namibia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NR",
          "country": "Nauru",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NP",
          "country": "Nepal",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NL",
          "country": "Netherlands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NC",
          "country": "New Caledonia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NZ",
          "country": "New Zealand",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NI",
          "country": "Nicaragua",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NE",
          "country": "Niger",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NG",
          "country": "Nigeria",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NU",
          "country": "Niue",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NF",
          "country": "Norfolk Island",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KP",
          "country": "North Korea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MK",
          "country": "North Macedonia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MP",
          "country": "Northern Mariana Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "NO",
          "country": "Norway",
          "__typename": "CountryDisplay"
        },
        {
          "code": "OM",
          "country": "Oman",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PK",
          "country": "Pakistan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PW",
          "country": "Palau",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PS",
          "country": "Palestine, State of",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PA",
          "country": "Panama",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PG",
          "country": "Papua New Guinea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PY",
          "country": "Paraguay",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PE",
          "country": "Peru",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PH",
          "country": "Philippines",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PN",
          "country": "Pitcairn",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PL",
          "country": "Poland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PT",
          "country": "Portugal",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PR",
          "country": "Puerto Rico",
          "__typename": "CountryDisplay"
        },
        {
          "code": "QA",
          "country": "Qatar",
          "__typename": "CountryDisplay"
        },
        {
          "code": "RE",
          "country": "Réunion",
          "__typename": "CountryDisplay"
        },
        {
          "code": "RO",
          "country": "Romania",
          "__typename": "CountryDisplay"
        },
        {
          "code": "RU",
          "country": "Russia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "RW",
          "country": "Rwanda",
          "__typename": "CountryDisplay"
        },
        {
          "code": "BL",
          "country": "Saint Barthélemy",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SH",
          "country": "Saint Helena, Ascension and Tristan da Cunha",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KN",
          "country": "Saint Kitts and Nevis",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LC",
          "country": "Saint Lucia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "MF",
          "country": "Saint Martin (French part)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "PM",
          "country": "Saint Pierre and Miquelon",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VC",
          "country": "Saint Vincent and the Grenadines",
          "__typename": "CountryDisplay"
        },
        {
          "code": "WS",
          "country": "Samoa",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SM",
          "country": "San Marino",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ST",
          "country": "Sao Tome and Principe",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SA",
          "country": "Saudi Arabia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SN",
          "country": "Senegal",
          "__typename": "CountryDisplay"
        },
        {
          "code": "RS",
          "country": "Serbia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SC",
          "country": "Seychelles",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SL",
          "country": "Sierra Leone",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SG",
          "country": "Singapore",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SX",
          "country": "Sint Maarten (Dutch part)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SK",
          "country": "Slovakia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SI",
          "country": "Slovenia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SB",
          "country": "Solomon Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SO",
          "country": "Somalia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ZA",
          "country": "South Africa",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GS",
          "country": "South Georgia and the South Sandwich Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "KR",
          "country": "South Korea",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SS",
          "country": "South Sudan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ES",
          "country": "Spain",
          "__typename": "CountryDisplay"
        },
        {
          "code": "LK",
          "country": "Sri Lanka",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SD",
          "country": "Sudan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SR",
          "country": "Suriname",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SJ",
          "country": "Svalbard and Jan Mayen",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SE",
          "country": "Sweden",
          "__typename": "CountryDisplay"
        },
        {
          "code": "CH",
          "country": "Switzerland",
          "__typename": "CountryDisplay"
        },
        {
          "code": "SY",
          "country": "Syria",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TW",
          "country": "Taiwan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TJ",
          "country": "Tajikistan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TZ",
          "country": "Tanzania",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TH",
          "country": "Thailand",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TL",
          "country": "Timor-Leste",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TG",
          "country": "Togo",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TK",
          "country": "Tokelau",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TO",
          "country": "Tonga",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TT",
          "country": "Trinidad and Tobago",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TN",
          "country": "Tunisia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TR",
          "country": "Türkiye",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TM",
          "country": "Turkmenistan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TC",
          "country": "Turks and Caicos Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "TV",
          "country": "Tuvalu",
          "__typename": "CountryDisplay"
        },
        {
          "code": "UG",
          "country": "Uganda",
          "__typename": "CountryDisplay"
        },
        {
          "code": "UA",
          "country": "Ukraine",
          "__typename": "CountryDisplay"
        },
        {
          "code": "AE",
          "country": "United Arab Emirates",
          "__typename": "CountryDisplay"
        },
        {
          "code": "GB",
          "country": "United Kingdom",
          "__typename": "CountryDisplay"
        },
        {
          "code": "UM",
          "country": "United States Minor Outlying Islands",
          "__typename": "CountryDisplay"
        },
        {
          "code": "US",
          "country": "United States of America",
          "__typename": "CountryDisplay"
        },
        {
          "code": "UY",
          "country": "Uruguay",
          "__typename": "CountryDisplay"
        },
        {
          "code": "UZ",
          "country": "Uzbekistan",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VU",
          "country": "Vanuatu",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VE",
          "country": "Venezuela",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VN",
          "country": "Vietnam",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VG",
          "country": "Virgin Islands (British)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "VI",
          "country": "Virgin Islands (U.S.)",
          "__typename": "CountryDisplay"
        },
        {
          "code": "WF",
          "country": "Wallis and Futuna",
          "__typename": "CountryDisplay"
        },
        {
          "code": "EH",
          "country": "Western Sahara",
          "__typename": "CountryDisplay"
        },
        {
          "code": "YE",
          "country": "Yemen",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ZM",
          "country": "Zambia",
          "__typename": "CountryDisplay"
        },
        {
          "code": "ZW",
          "country": "Zimbabwe",
          "__typename": "CountryDisplay"
        }
      ],
      "customerSetPasswordUrl": null,
      "defaultMailSenderAddress": "email@example.com",
      "defaultMailSenderName": "",
      "description": "",
      "domain": {
        "host": "example.com",
        "__typename": "Domain"
      },
      "name": "Example.com",
      "reserveStockDurationAnonymousUser": null,
      "reserveStockDurationAuthenticatedUser": null,
      "limitQuantityPerCheckout": 50,
      "__typename": "Shop"
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 1,
      "maximumAvailable": 50000
    }
  }
}

Console output

No console output

System information

Dashboard version:

v3.11.3

Core version:

v3.11.8

Operating system:

Browser:

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bogdandjukic commented 1 year ago

Any news on this? We have the same issue. As soon as you add an address to the site settings, it starts the infinite query loop. I tried looking into the releases to see if there was any fixes, but no luck. We have an older version 3.4.0-dev and updating it is not an option at the moment as both the api and dashboard are custom extended a lot