Skip to content

PDFCLOUD-5583 AGENTS.md improvements#25

Merged
datalogics-cgreen merged 1 commit intopdfrest:mainfrom
datalogics-kam:pdfcloud-5583-agents-md
Feb 13, 2026
Merged

PDFCLOUD-5583 AGENTS.md improvements#25
datalogics-cgreen merged 1 commit intopdfrest:mainfrom
datalogics-kam:pdfcloud-5583-agents-md

Conversation

@datalogics-kam
Copy link
Copy Markdown
Contributor

PDFCLOUD-5583

  • Added guidance on keeping client endpoint helpers minimal and delegating validation to Pydantic models.
  • Recommends newer model_dump_json and pydantic_core.to_json for JSON serialization to improve performance.
  • Advocates for using Annotated field constraints over redundant custom validators.
  • Updated section on color pattern validation to prefer tuple channel aliases and constraints over legacy helpers.
  • Emphasizes concise and reusable validation logic with factories where applicable.
  • Clarified pytest.raises usage for stable and human-readable error matching.

Assisted-by: Codex

- Added guidance on keeping client endpoint helpers minimal and delegating
  validation to Pydantic models.
- Recommends newer `model_dump_json` and `pydantic_core.to_json` for JSON
  serialization to improve performance.
- Advocates for using `Annotated` field constraints over redundant custom
  validators.
- Updated section on color pattern validation to prefer tuple channel aliases
  and constraints over legacy helpers.
- Emphasizes concise and reusable validation logic with factories where
  applicable.
- Clarified `pytest.raises` usage for stable and human-readable error matching.

Assisted-by: Codex
Comment thread AGENTS.md
@datalogics-cgreen datalogics-cgreen merged commit ab02c6a into pdfrest:main Feb 13, 2026
14 checks passed
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