Skip to content

Conversation

@barw4
Copy link
Contributor

@barw4 barw4 commented Jun 7, 2024

🎫 Issue IBX-8180

Related PRs:

#95 - please note that this PR requires the mentioned PR, hence base branch is set to ibx-8176-move-location-endpoint-OpenAPI

Description:

The new endpoint follows the given specification:

POST /api/ibexa/v2/content/locations/1/2/54/
Content-Type: application/vnd.ibexa.api.SwapLocationInput+json
Accept: application/json
{
    "SwapLocationInput": {
        "destination": "/1/2"
    }
}

Documentation:

TBD

@barw4 barw4 added the Feature New feature request label Jun 7, 2024
@barw4 barw4 self-assigned this Jun 7, 2024
@barw4 barw4 marked this pull request as ready for review June 7, 2024 14:58
@barw4 barw4 requested a review from a team June 7, 2024 14:58
Copy link
Contributor

@ViniTou ViniTou left a comment

Choose a reason for hiding this comment

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

Aside from code style issues

@barw4 barw4 force-pushed the ibx-8176-move-location-endpoint-OpenAPI branch from 74ebd11 to 0e870aa Compare June 20, 2024 17:32
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch 2 times, most recently from 6ebe87c to 2b87483 Compare June 20, 2024 17:52
@barw4 barw4 requested review from a team and Steveb-p June 20, 2024 18:11
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch from 16849bb to 230a491 Compare June 20, 2024 18:16
@barw4 barw4 force-pushed the ibx-8176-move-location-endpoint-OpenAPI branch from e9da7c0 to befa06a Compare June 23, 2024 14:42
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch 2 times, most recently from 9b5d8a2 to 4cc79be Compare June 23, 2024 15:04
@barw4 barw4 force-pushed the ibx-8176-move-location-endpoint-OpenAPI branch from 558f9ca to eb6d0aa Compare June 27, 2024 16:17
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch from 3268d62 to 55e48bf Compare June 27, 2024 16:25
@barw4 barw4 force-pushed the ibx-8176-move-location-endpoint-OpenAPI branch from 755dd44 to 2151cc5 Compare June 28, 2024 14:39
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch from 62e73b9 to 8abbae4 Compare June 28, 2024 14:40
{
private const int TESTED_LOCATION_ID = 22;

protected MockObject&LocationService $locationService;
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks okay-ish, but nut sure if we already agreed upon such code style rule.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it is the only variation that PHPStan is accepting 😌

@barw4 barw4 requested a review from konradoboza July 1, 2024 18:58
@barw4 barw4 force-pushed the ibx-8176-move-location-endpoint-OpenAPI branch from b328f78 to 6a8ffcd Compare July 2, 2024 22:16
@barw4 barw4 force-pushed the ibx-8180-swap-location-endpoint-OpenAPI branch from 0227bcc to 989b2f1 Compare July 16, 2024 07:46
@sonarqubecloud
Copy link

@micszo micszo removed their assignment Jul 17, 2024
@adamwojs adamwojs merged commit 3f1fbf6 into main Jul 17, 2024
@adamwojs adamwojs deleted the ibx-8180-swap-location-endpoint-OpenAPI branch July 17, 2024 09:11
adamwojs added a commit that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature request QA approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants