Skip to content

Conversation

@cconard96
Copy link
Contributor

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.

Description

Mapped properties are a one-way feature to manipulate data from the DB before it is sent to the client such as changing a document file path to the /front/document.send.php URL needed to actually get the file. Therefore, these properties should be marked as readOnly. A test was added to enforce this.

@cconard96 cconard96 added the api label Jan 2, 2026
@trasher
Copy link
Contributor

trasher commented Jan 5, 2026

Tests are broken (and you probably can rebase on 11.0/bf up-to-date branch also)

@cconard96 cconard96 marked this pull request as draft January 5, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants