Skip to content

Commit 83d0adb

Browse files
authored
Add note indicating ecmascript is only for mocking. (#46)
1 parent bd388a8 commit 83d0adb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rest/pagination/api.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ type Query {
6767
resultroot: "values[]"
6868

6969
# Ecmascript (with empty endpoint) is used to mimic the response from a REST api.
70+
# Note ECMAScript is only used to generate a mock response with customer objects and page number metadata,
71+
# using @rest against a real endpoint would not typically require any ECMAScript.
7072
endpoint: "stepzen:empty"
7173
ecmascript: """
7274
function transformREST() {

0 commit comments

Comments
 (0)