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

api: upgrade api-platform/core to 3.2.1 #3985

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

BacLuc
Copy link
Contributor

@BacLuc BacLuc commented Oct 20, 2023

Fixes #3933
update api-plattform-allow-null-links.patch because of whitespace changes: create a file ...._old.php with the repository version of the file

then: git diff --no-index api/vendor/api-platform/core/src/Hal/Serializer/ItemNormalizer_old.php api/vendor/api-platform/core/src/Hal/Serializer/ItemNormalizer.php

Add docs_formats because this must now be configured separately to enable hal.
Do not support json as docs format, because this renders an error. (It returns a 200 response, but the returned json contains a stacktrace).

@BacLuc BacLuc force-pushed the api-upgrade-api-platform branch 2 times, most recently from 1f735a2 to 21b93e2 Compare October 21, 2023 10:46
@BacLuc BacLuc marked this pull request as ready for review October 21, 2023 23:08
Comment on lines -635 to -642
_links:
properties:
self:
properties:
href:
format: iri-reference
type: string
type: object
Copy link
Member

Choose a reason for hiding this comment

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

Any idea why this vanished?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sadly no, but it doesn't affect us.
I can raise an issue with api platform/openapi later

update api-plattform-allow-null-links.patch because of whitespace changes:
create a file ...._old.php with the repository version of the file

then: git diff --no-index api/vendor/api-platform/core/src/Hal/Serializer/ItemNormalizer_old.php api/vendor/api-platform/core/src/Hal/Serializer/ItemNormalizer.php

Add docs_formats because this must now be configured separately to enable
hal.
Do not support json as docs format, because this renders an error.
(It returns a 200 response, but the returned json contains a stacktrace).
@BacLuc BacLuc added the deploy! Creates a feature branch deployment for this PR label Nov 11, 2023
Copy link

github-actions bot commented Nov 11, 2023

Feature branch deployment currently inactive.

If the PR is still open, you can add the deploy! label to this PR to trigger a feature branch deployment.

@BacLuc BacLuc added this pull request to the merge queue Nov 11, 2023
@BacLuc BacLuc removed this pull request from the merge queue due to a manual request Nov 11, 2023
@BacLuc BacLuc added this pull request to the merge queue Nov 11, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 11, 2023
@BacLuc BacLuc added this pull request to the merge queue Nov 12, 2023
Merged via the queue into ecamp:devel with commit 120fd29 Nov 12, 2023
31 checks passed
@BacLuc BacLuc deleted the api-upgrade-api-platform branch November 14, 2023 08:27
@BacLuc BacLuc mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy! Creates a feature branch deployment for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Api Platform upgrade to 3.2
3 participants