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

feat(listener): add support for includeAllVersions #1003

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Feb 5, 2025

WIP PR to prepare for an upcoming change

* Whether to include events for drafts and versions. As of API Version >= v[TBD], only events
* for published documents will be included by default.
* If you need events from drafts and versions, set this to `true`.
* Note: Keep in mind that additional document variants may be introduced in the future, so it's
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this assumes parity with perspective=raw, but given that the param is explicitly named includeAllVersions, I guess in theory we could introduce new variants in the future without including them behind this flag.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, that is possible. We'll have to consider any further developments in this area very carefully.

@bjoerge bjoerge requested a review from rneatherway February 5, 2025 11:01
@bjoerge bjoerge force-pushed the add-include-all-version-param branch from d0a143f to 20a44bf Compare February 6, 2025 18:32
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