Skip to content

Update bootstrap to v3 #1640

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

Merged
merged 1 commit into from
May 3, 2023
Merged

Update bootstrap to v3 #1640

merged 1 commit into from
May 3, 2023

Conversation

kayneth
Copy link
Contributor

@kayneth kayneth commented Nov 1, 2022

Hi 👋

I saw the closed PR #1574 and needed to look into API-Platform v3. As I did a test with the bootstrap documentation and needed to update the example code block to make it work for this purpose, is it possible to submit an update?

$debug = true;
$defaultContext = [];
$dataTransformers = [];
$patchFormats = ['json' => ['application/merge-patch+json'], 'jsonapi' => ['application/vnd.api+json']];
$formats = ['jsonld' => ['application/ld+json']];
$formats = ['jsonld' => ['application/ld+json'], 'json' => ['application/json']];
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is the default setting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, sorry. I was trying something with OpenAPI 😅

I have taken the values available in src/Symfony/Bundle/DependencyInjection/Configuration.php if it's correct for you

@alanpoulain
Copy link
Member

Looks great! @soyuka may have a look at this.

@dunglas dunglas merged commit 25aefb7 into api-platform:3.0 May 3, 2023
@dunglas
Copy link
Member

dunglas commented May 3, 2023

Thanks!

SiMoeBoe pushed a commit to SiMoeBoe/api-platform_docs that referenced this pull request Sep 24, 2023
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.

3 participants