func (c *Cursor) UnmarshalGQL(v interface{}) error {
	s, ok := v.(string)
	if !ok {
		return xerrors.Errorf("%T is not a string", v)
	}
	b, err := base64.StdEncoding.DecodeString(s)
	if err != nil {
		return xerrors.Errorf("decoding cursor: %w", err)
	}
	b = bytes.TrimPrefix(b, []byte(cursorPrefix))
	i, err := strconv.Atoi(string(b))
	if err != nil {
		return xerrors.Errorf("extracting cursor value: %w", err)
	}
	*c = Cursor(i)
	return nil
}
// UnmarshalGQL implements graphql.Unmarshaler interface.
UnmarshalGQL implements graphql.Unmarshaler interface.
// UnmarshalGQL implements graphql . Unmarshaler interface .
func (c *Cursor) UnmarshalGQL(v interface{}) error {
	s, ok := v.(string)
	if !ok {
		return xerrors.Errorf("%T is not a string", v)
	}
	b, err := base64.StdEncoding.DecodeString(s)
	if err != nil {
		return xerrors.Errorf("decoding cursor: %w", err)
	}
	b = bytes.TrimPrefix(b, []byte(cursorPrefix))
	i, err := strconv.Atoi(string(b))
	if err != nil {
		return xerrors.Errorf("extracting cursor value: %w", err)
	}
	*c = Cursor(i)
	return nil
}
func ( c * Cursor ) UnmarshalGQL ( v interface { } ) error { s , ok := v . ( string ) if ! ok { return xerrors . Errorf ( " " , v ) } b , err := base64 . StdEncoding . DecodeString ( s ) if err != nil { return xerrors . Errorf ( " " , err ) } b = bytes . TrimPrefix ( b , [ ] byte ( cursorPrefix ) ) i , err := strconv . Atoi ( string ( b ) ) if err != nil { return xerrors . Errorf ( " " , err ) } * c = Cursor ( i ) return nil }
UnmarshalGQL implements graphql.Unmarshaler interface.
UnmarshalGQL implements graphql . Unmarshaler interface .