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

Filter built-in functions with namespace in metadata command #34892

Closed
wants to merge 1 commit into from

Conversation

dbanck
Copy link
Member

@dbanck dbanck commented Mar 27, 2024

This PR removes all core:: prefixed functions from the metadata functions -json output, reducing the number of functions from 232 to 116.

I think this is more in line with the output of the provider schema JSON, which also doesn't include the prefix. With this change, consumers can choose how they want to advertise the function signatures. Without prefix, with prefix, or even both.

Target Release

1.8.x

Can this be backported to 1.8.0?

@dbanck dbanck closed this Apr 9, 2024
@dbanck dbanck deleted the filter-metadata-functions branch April 9, 2024 07:54
@ansgarm
Copy link
Member

ansgarm commented Apr 10, 2024

(for reference: We filter on the Language Server side instead: hashicorp/terraform-schema#340)

Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants