Skip to content

Commit f80c5e9

Browse files
authored
Correct the casing of the ChilliCream URL and UUID types (#65)
1 parent 0c651f8 commit f80c5e9

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

scalars/contributed/chillicream/url.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Url — GraphQL Custom Scalar
1+
# URL — GraphQL Custom Scalar
22

33
Author – ChilliCream
44

@@ -11,21 +11,21 @@ Copyright © GraphQL contributors. This specification is licensed under
1111

1212
# Overview
1313

14-
The `Url` scalar type represents a Uniform Resource Locator (URL) as defined by
14+
The `URL` scalar type represents a Uniform Resource Locator (URL) as defined by
1515
RFC 3986. It is intended for scenarios where a field must contain a valid URL,
1616
such as links to external resources, API endpoints, image sources, or any
1717
web-accessible resource.
1818

19-
Unlike the built-in `String` scalar which accepts any text, `Url` provides
19+
Unlike the built-in `String` scalar which accepts any text, `URL` provides
2020
validation to ensure the value conforms to the URL specification.
2121

2222
# Recommended name
2323

24-
The recommended name for this scalar is `Url`.
24+
The recommended name for this scalar is `URL`.
2525

2626
# Result spec
2727

28-
A `Url` scalar must serialize to a string representation of a valid URL
28+
A `URL` scalar must serialize to a string representation of a valid URL
2929
conforming to RFC 3986.
3030

3131
A valid URL must include:
@@ -62,7 +62,7 @@ These are invalid result values:
6262

6363
# Input spec
6464

65-
A `Url` scalar accepts string values representing valid URLs conforming to RFC
65+
A `URL` scalar accepts string values representing valid URLs conforming to RFC
6666
3986, both as GraphQL literals and as JSON input values.
6767

6868
Implementations should validate:

scalars/contributed/chillicream/uuid.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Uuid — GraphQL Custom Scalar
1+
# UUID — GraphQL Custom Scalar
22

33
Author – ChilliCream
44

@@ -11,24 +11,24 @@ Copyright © GraphQL contributors. This specification is licensed under
1111

1212
# Overview
1313

14-
The `Uuid` scalar type represents a Universally Unique Identifier (UUID) as
14+
The `UUID` scalar type represents a Universally Unique Identifier (UUID) as
1515
defined by RFC 9562. It is intended for scenarios where globally unique
1616
identifiers are required, such as database primary keys, distributed system
1717
identifiers, or any situation requiring collision-resistant unique identifiers.
1818

19-
Unlike the built-in `ID` scalar which can be any string or number, `Uuid`
19+
Unlike the built-in `ID` scalar which can be any string or number, `UUID`
2020
enforces the specific format and structure of UUIDs, providing stronger
2121
guarantees about uniqueness and format validity.
2222

2323
The scalar uses the standard UUID string representation as defined in RFC 9562.
2424

2525
# Recommended name
2626

27-
The recommended name for this scalar is `Uuid`.
27+
The recommended name for this scalar is `UUID`.
2828

2929
# Result spec
3030

31-
A `Uuid` scalar must serialize to a string conforming to the UUID string
31+
A `UUID` scalar must serialize to a string conforming to the UUID string
3232
representation defined in RFC 9562. This represents a UUID in the format:
3333
`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` where each `x` is a hexadecimal digit
3434
(0-9, a-f, A-F).
@@ -71,7 +71,7 @@ These are invalid result values:
7171

7272
# Input spec
7373

74-
A `Uuid` scalar accepts string values conforming to the UUID string
74+
A `UUID` scalar accepts string values conforming to the UUID string
7575
representation defined in RFC 9562, both as GraphQL literals and as JSON input
7676
values.
7777

0 commit comments

Comments
 (0)