diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000000..e826757a8f --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: patch + +This release fixes a minor issue where the docstring for the relay util `to_base64` described the return type incorrectly. diff --git a/strawberry/relay/utils.py b/strawberry/relay/utils.py index 2232429b5c..25014c7c70 100644 --- a/strawberry/relay/utils.py +++ b/strawberry/relay/utils.py @@ -41,7 +41,7 @@ def to_base64(type_: Union[str, type, StrawberryObjectDefinition], node_id: Any) The node id itself Returns: - A tuple of (TypeName, NodeID). + A GlobalID, which is a string resulting from base64 encoding :. Raises: ValueError: