Closed coeit closed 3 years ago
This PR implements the asCursor field for models. When queried it returns the base64 encoded cursor of a record use for pagination in the connection implementations.
asCursor
closes #198
gql-server: #77
base64Enconde
base64Encode
asCursor()
creat-models-functions.ejs
Summary
This PR implements the
asCursor
field for models. When queried it returns the base64 encoded cursor of a record use for pagination in the connection implementations.Issue
closes #198
related PR
gql-server: #77
Changes
base64Enconde
typo ->base64Encode
asCursor()
utility function. This is just an alias that internally callsbase64Encode
creat-models-functions.ejs
includes to unify model utitlity functions