Skip to content

doc: refactor BlogPostProvider examples - #2239

Merged
soyuka merged 1 commit into
api-platform:4.1from
alexisLefebvre:doc-refactor-BlogPostProvider-examples
Jan 27, 2026
Merged

doc: refactor BlogPostProvider examples#2239
soyuka merged 1 commit into
api-platform:4.1from
alexisLefebvre:doc-refactor-BlogPostProvider-examples

Conversation

@alexisLefebvre

Copy link
Copy Markdown
Contributor

Goals:

  • I copy-pasted the example without reading the doc carefully (my bad), and I ended up with a non-working example that returned no data. I suggest to update the example in order to show that $data should be populated with values from the previous example, so that future readers would end up with a working example
  • add full example for Laravel too
@soyuka
soyuka merged commit 2c9870d into api-platform:4.1 Jan 27, 2026
1 check passed
@alexisLefebvre
alexisLefebvre deleted the doc-refactor-BlogPostProvider-examples branch January 27, 2026 10:34
soyuka pushed a commit that referenced this pull request Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants