Skip to content

[HLAPI] multipleOf (step) validation - #25176

Open
cconard96 wants to merge 1 commit into
glpi-project:feature/hlapi-v2.4from
cconard96:hlapi/multipleOf_validation
Open

[HLAPI] multipleOf (step) validation#25176
cconard96 wants to merge 1 commit into
glpi-project:feature/hlapi-v2.4from
cconard96:hlapi/multipleOf_validation

Conversation

@cconard96

Copy link
Copy Markdown
Member

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

Add validation for multipleOf/step requirements for HLAPI properties to give clients a clean validation error response rather than GLPI potentially allowing a SQL error (check constraints aren't used by GLPI so this isn't likely), sending a message which is inconsistent and not machine-readable, or allowing values GLPI's web interface would not accept.

@cconard96 cconard96 self-assigned this Aug 18, 2026
@cconard96 cconard96 added the api label Aug 18, 2026
@cconard96
cconard96 force-pushed the hlapi/multipleOf_validation branch from 6a556fb to 2d41b7c Compare August 18, 2026 11:36
@cconard96
cconard96 marked this pull request as ready for review August 18, 2026 13:40
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.

1 participant