Skip to content

fetchPartial documentation #946

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
Oct 23, 2019
Merged

fetchPartial documentation #946

merged 1 commit into from
Oct 23, 2019

Conversation

edamov
Copy link
Contributor

@edamov edamov commented Oct 21, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tickets fixes #940
License MIT
Doc PR api-platform/docs#...

I'm not sure if I should also document fetchPartial attribute at the resource level and provide an example.

I'm not sure if I should also document `fetchPartial` attribute at the resource level and provide an example.
fetch_partial: true
```
It is disabled by default.
If enabled, Doctrine ORM entities will not work as expected if any of the other fields are used.
Copy link
Member

Choose a reason for hiding this comment

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

not sure to get that sentence, wdym by this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please look at fetch_partial docblock in the file and this conversation
But I agree, it is not so clear

@soyuka soyuka merged commit 3d6d2c6 into api-platform:2.5 Oct 23, 2019
@soyuka
Copy link
Member

soyuka commented Oct 23, 2019

thanks @edamov

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.

fetchPartial isn't documented
2 participants