Skip to content

Conversation

@iOvergaard
Copy link
Contributor

Description

The DocumentConfigurationResponseModel#AllowNonExistingSegmentsCreation as well as the SegmentSettings#AllowCreation have been deprecated. They will be replaced by a yet non-existing client-side extension in V19.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds deprecation notices for segment creation settings that will be replaced by a client-side extension in V19. The changes mark two properties as obsolete and add a client-side deprecation warning when the feature is disabled.

  • Adds [Obsolete] attributes to segment creation properties in both C# model classes
  • Implements client-side deprecation warning when allowNonExistingSegmentsCreation is set to false

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
document-workspace.context.ts Adds client-side deprecation warning when segment creation is disabled
SegmentSettings.cs Marks AllowCreation property as obsolete with deprecation message
DocumentConfigurationResponseModel.cs Marks AllowNonExistingSegmentsCreation property as obsolete with deprecation message

Copy link
Contributor

@kjac kjac left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@iOvergaard iOvergaard enabled auto-merge (rebase) October 8, 2025 07:47
@iOvergaard iOvergaard merged commit edf95e6 into main Oct 8, 2025
27 of 28 checks passed
@iOvergaard iOvergaard deleted the v16/feature/deprecate-allow-segments-creation branch October 8, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants