Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(laravel): jsonapi query parameters (page, sort, fields and include) #6876

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Dec 17, 2024

Q A
Branch? 4.0 (this feature should be supported by Laravel)
Tickets Closes #6841
License MIT

@soyuka soyuka force-pushed the fix/jsonapi-query-parameters branch 3 times, most recently from 9911444 to c941431 Compare December 19, 2024 15:25
Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

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

LGTM


public function getOpenApiParameters(MetadataParameter $parameter): Parameter|array|null
{
$example = \sprintf(
Copy link
Member

Choose a reason for hiding this comment

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

This variable seems useless, you could likely have a single sprintf

@soyuka soyuka force-pushed the fix/jsonapi-query-parameters branch from c941431 to 6992e5e Compare December 20, 2024 08:45
@soyuka soyuka merged commit c8db7ae into api-platform:4.0 Dec 20, 2024
58 of 59 checks passed
@soyuka soyuka deleted the fix/jsonapi-query-parameters branch December 20, 2024 09:37
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