Open ghost opened 3 years ago
I believe the reason may be some change in the cursor format. Bypassing the validation shouldn't be the solution , but supporting the new format. I don't have permissions anymore in this repo to be able to contribute/approve contributions, and I am not sure why a new format was introduced. @ppremk may be able to.help us here with internal details.
@ffalorjr with the error you are seeing can you reproduce it and create a PR with a fix? It requires an enterprise for it. 🐱
Describe the bug The cursor the CLI is commiting is causing the next run to fail because the cursor is not passing the regex expression.
The CLI is commiting the id of the Type.
Here are some example, of the new "cursor" it is commiting
Removing the regex check, and letting the cli use the newly commited cursor looks like it allows the cli to gather new events, and it looks like it is not missing any events.
However, the graphql, always says there are new pages after the last event pulled, I'd assume this should be false when we pull the last event.
To Reproduce Steps to reproduce the behavior: Run the CLI - check the output of the cursor it saves
Expected behavior The CLI will output a valid cursor that it will use the next run to get all new events
Other
I'm not sure the reason for the change in behavior, but if we can confirm that the new formats are valid we can update the validation.