Skip to content
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

[Docs] clarify helper.Data for update #62

Open
mdavis-xyz opened this issue Jun 10, 2022 · 1 comment
Open

[Docs] clarify helper.Data for update #62

mdavis-xyz opened this issue Jun 10, 2022 · 1 comment

Comments

@mdavis-xyz
Copy link

If I want to return properties after creation (helper.Data.update({})), what do I have to do when updating?

If an update does not change the returned properties, can I just not touch helper.Data? Or do I need to fetch the data from somewhere else and pass it in again?

If an update does change the returned properties, but not all of them, do I only need to pass the new ones to helper.Data.update({})?

@mdavis-xyz
Copy link
Author

After playing around, it seems like helper.Data.update({}) needs to be updated for every call to update the resource, even if the resource is unchanged.

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

No branches or pull requests

1 participant