Skip to content

only fetch the fields for the getByRef required extra entities...#42

Open
fruitl00p wants to merge 1 commit intomasterfrom
getByRef-fields
Open

only fetch the fields for the getByRef required extra entities...#42
fruitl00p wants to merge 1 commit intomasterfrom
getByRef-fields

Conversation

@fruitl00p
Copy link
Member

This adds the fields param to the GetById()-call made in getByRef. This ensures that only the required paths of the entity which are needed for resolution are fetched. As this works top->down, setting fields to the upper-most level, all subdocuments are still fetched. (just that other top level properties aren't sent over the wire)

This adds the fields param to the GetById()-call made in getByRef. This ensures that only the required paths of the entity which are needed for resolution are fetched. As this works top->down, setting fields to the upper-most level, all subdocuments are still fetched. (just that other top level properties aren't sent over the wire)
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.

1 participant