Skip to content

Conversation

@AndyButland
Copy link
Contributor

Description

This removes a read-only property that was added to the base item, collection and tree models that leads to breaking changes to the client-side generated types.

Copilot AI review requested due to automatic review settings August 20, 2025 15:04
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 reverts a read-only property addition to management API models that was causing breaking changes to client-side generated types. The primary goal is to fix the signs property implementation across various response models to prevent generation issues.

Key changes:

  • Made the signs property settable instead of read-only across base classes
  • Updated OpenAPI schema to remove read-only constraint from signs properties
  • Modified mapping definitions to exclude signs from auto-mapping

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
types.gen.ts Generated TypeScript types with signs property now settable across all response models
EntityTreeItemResponseModel.cs Changed signs property from read-only to settable with backing field modification
ItemResponseModelBase.cs Made signs property settable in base item model
ContentResponseModelBase.cs Updated content base model to allow signs property setting
OpenApi.json Removed read-only constraint from signs property in OpenAPI schema
ItemTypeMapDefinition.cs Added signs exclusion comments to mapping definitions
DocumentTypeMapDefinition.cs Added signs exclusion comment to blueprint mapping

Copy link
Contributor

@nikolajlauridsen nikolajlauridsen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@nikolajlauridsen nikolajlauridsen merged commit 0b1d8dd into main Aug 21, 2025
27 checks passed
@nikolajlauridsen nikolajlauridsen deleted the v16/bugfix/fix-models-after-signs branch August 21, 2025 07: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.

3 participants