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

Remove unnecessary updates/overwrites in the intent Resource Create() method #26

Open
ctjnkns opened this issue Jan 13, 2024 · 0 comments

Comments

@ctjnkns
Copy link
Owner

ctjnkns commented Jan 13, 2024

In the resource Create() method you're overwriting a bunch of required fields like appid and key before setting the state using values which came from the API. This shouldn't be required because these values came from the config and the state must match the config (for these values) when Create() returns. It should be okay to update only the computed fields.

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