Skip to content

fetchPartial documentation#946

Merged
soyuka merged 1 commit intoapi-platform:2.5from
edamov:patch-2
Oct 23, 2019
Merged

fetchPartial documentation#946
soyuka merged 1 commit intoapi-platform:2.5from
edamov:patch-2

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