Skip to content

Conversation

@neznaika0
Copy link
Contributor

Description
See #9748

  1. Why doesn't the documentation describe the case of underlining properties? They are skipped when calling Entity::toArray() but allowed in Entity::toRawArray()
  2. The behavior of superfluous properties is not described. How they will be shown for the entity and when working with the DB.
Снимок экрана от 2025-10-11 11-35-15

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@neznaika0
Copy link
Contributor Author

neznaika0 commented Oct 13, 2025

@michalsn, updated. Can we add something related to the database? How can this be useful or bad?
Снимок экрана от 2025-10-13 17-13-31

Copy link
Member

@michalsn michalsn 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, thanks!

@michalsn michalsn added the documentation Pull requests for documentation only label Oct 14, 2025
@michalsn michalsn merged commit 8e8bfbc into codeigniter4:develop Oct 15, 2025
48 checks passed
@neznaika0 neznaika0 deleted the docs/entity-desc branch October 15, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants