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

Fix attribute deprecation warning #801

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

lizduty
Copy link
Contributor

@lizduty lizduty commented Jan 15, 2024

This uses the fact that ValidateDiagFunc is only used for input values, not computed values.

By testing that the input is empty, we can provide our warning only when necessary.

It's not not perfect, since you don't get the tooling hints that an attribute is deprecated.

Fixes #799

lizduty and others added 2 commits January 15, 2024 21:24
This uses the fact that ValidateDiagFunc is only used for input values,
not computed values.

By testing that the input is empty,
we can provide our warning only when necessary.

It's not not perfect,
since you don't get the tooling hints that an attribute is deprecated.
Copy link
Contributor

@imjaroiswebdev imjaroiswebdev left a comment

Choose a reason for hiding this comment

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

Awesome @lizduty thank you for fixing this 👏🏽 🎉

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.

The attribute "integration_key" is deprecated. Refer to the provider documentation for details
2 participants