Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update continuation_token pattern restriction #216

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

justincoh
Copy link
Contributor

@justincoh justincoh commented Dec 30, 2024

Description

In #215 we introduced a patten restriction on continuation_token values. That pattern is correct if the value is present, but it did not account for requests where the token is not present.

This PR updates the pattern to allow for empty strings also. I've tested locally on openfga with the updates here and it looks good.

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@justincoh justincoh requested a review from a team as a code owner December 30, 2024 17:53
@justincoh justincoh changed the title chore: remove lingering comment in proto defn fix: update continuation_token pattern restriction Dec 30, 2024
@justincoh justincoh merged commit b61b4ea into main Dec 30, 2024
6 checks passed
@justincoh justincoh deleted the chore/remove-lingering-comment branch December 30, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants