Skip to content

Commit 0c89aed

Browse files
committed
@value desc modified
1 parent b9d44c6 commit 0c89aed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

value/useOfJSON/api.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
type Query {
55
# To sum a and b using the @value directive within src in JSONata,
66
sum(a: Int!, b: Int!): Int! @value(script: {src: "a+b", language: JSONATA})
7-
# To convert a string to lowercase format, you can utilize the lowercase() function in JSONata using @value
7+
# To convert a string to lowercase format, use @value in JSONata
88
lower(value: String): String
99
@value(script: {src: "$lowercase(value)", language: JSONATA})
10-
# To convert a string to lowercase format, you can utilize the lowercase() function in JSONata using @value
10+
# To convert a string to uppercase format, use @value in JSONata
1111
upper(value: String): String
1212
@value(script: {src: "$uppercase(value)", language: JSONATA})
1313

0 commit comments

Comments
 (0)