GraphQL Schema Descriptions (core/descriptions.py)

saleor · saleor/graphql/core/descriptions.py · python · BSD-3-Clause
integration, dev-tools, database, tag:deprecation

Provides deprecation messages and descriptions for GraphQL schema elements.

# Source: https://github.com/saleor/saleor | License: BSD-3-Clause | Copyright 2020-2023, Saleor Commerce
# Provided via justclaw.it.com; keep this notice with the code.
from graphql import DEFAULT_DEPRECATION_REASON as DEFAULT_DEPRECATION_REASON

from .const import DEFAULT_NESTED_LIST_LIMIT

# Deprecation message for input fields and query arguments. Use it, when
# deprecation message needs to be included in the field description.
DEPRECATED_IN_3X_INPUT = "\n\nDEPRECATED: this field will be removed."

DEPRECATED_IN_3X_TYPE = "\n\nDEPRECATED: this type will be removed."

DEPRECATED_IN_3X_EVENT = "\n\nDEPRECATED: this event will be removed."

ADDED_IN_322 = "\n\nAdded in Saleor 3.22."
ADDED_IN_323 = "\n\nAdded in Saleor 3.23."
ADDED_IN_324 = "\n\nAdded in Saleor 3.24."

DEPRECATED_EXPORT_MU

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key