Skip to content

docs: improve service-repository architecture description in readme - #268

Open
artengin wants to merge 28 commits into
masterfrom
add-service-repository-architecture-docs
Open

docs: improve service-repository architecture description in readme#268
artengin wants to merge 28 commits into
masterfrom
add-service-repository-architecture-docs

Conversation

@artengin

Copy link
Copy Markdown
Contributor

refs: #267

@artengin artengin self-assigned this Mar 23, 2026
@artengin artengin assigned DenTray and unassigned artengin Mar 29, 2026
@DenTray

DenTray commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/Traits/EntityControlTrait.php Outdated
Comment thread src/Traits/EntityControlTrait.php Outdated
Comment thread src/Traits/EntityControlTrait.php Outdated
Comment thread src/Traits/EntityControlTrait.php Outdated
Comment thread src/Traits/EntityControlTrait.php Outdated
Comment thread documentation/service-repository.md Outdated
Comment thread documentation/service-repository.md Outdated
Comment thread documentation/service-repository.md Outdated
Comment thread documentation/service-repository.md Outdated
Comment thread documentation/http-request-service.md
@DenTray DenTray assigned artengin and unassigned DenTray May 19, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c31f23670

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/Traits/EntityControlTrait.php
@artengin

Copy link
Copy Markdown
Contributor Author

@codex review

@artengin artengin assigned DenTray and unassigned artengin Jun 19, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 31255e4a69

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

/**
* Update multiple entities by condition
*/
public function updateMany(array $where, array $data): int

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve scalar where support in updateMany

When callers use the previously supported primary-key shorthand, e.g. updateMany(1, ['name' => ...]), this new array parameter type throws a TypeError before getQuery() can normalize the scalar into a primary-key condition. The old method accepted condition or primary key values, and the removed test covered this exact scalar case, so this breaks existing repository users who update by id through updateMany.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e5808de45

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

/**
* Count entities by condition
*/
public function count(array $where = []): int

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve primary-key counts

When callers use the previously accepted primary-key shorthand, e.g. count(1), this new array parameter type throws a TypeError before getQuery()/constructWhere() can normalize the scalar into a primary-key condition. Since the underlying query builder path still supports scalar conditions and other repository condition methods continue to accept them, service/repository consumers counting a single id now fail instead of returning the expected 0/1 count.

Useful? React with 👍 / 👎.

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