Skip to content

second attempt to fix the server ci#1

Merged
roncodes merged 4 commits intomainfrom
fix/server-ci
Oct 9, 2023
Merged

second attempt to fix the server ci#1
roncodes merged 4 commits intomainfrom
fix/server-ci

Conversation

@roncodes
Copy link
Member

@roncodes roncodes commented Oct 9, 2023

No description provided.

@roncodes roncodes merged commit a185a2c into main Oct 9, 2023
@roncodes roncodes deleted the fix/server-ci branch October 9, 2023 09:57
roncodes added a commit that referenced this pull request Feb 28, 2026
…dating driver

- Add ResolvableVehicle validation rule that accepts a vehicle public_id
  string, UUID string, or an array/object with id/public_id/uuid key
- Update CreateDriverRequest to use ResolvableVehicle rule instead of
  the previous string-only validation which threw a TypeError when the
  frontend sent the full vehicle object
- Normalize vehicle input in DriverController createRecord and updateRecord
  before validation so array payloads are reduced to a string identifier

Fixes: TypeError: str_starts_with(): Argument #1 ($haystack) must be of
type string, array given
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.

1 participant