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

change attribute name from targetType to kind #16

Merged
merged 3 commits into from
Aug 25, 2021

Conversation

ying-jeanne
Copy link
Collaborator

to fix issue #11

@ying-jeanne ying-jeanne linked an issue Aug 23, 2021 that may be closed by this pull request
Copy link
Contributor

@sdboyer sdboyer left a comment

Choose a reason for hiding this comment

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

you totally went the extra mile and...now that i see it, i think it's overkill. sorry! let's just make the breaking change.

attrEnumDefault = "enumDefault"
)

var attrTarget = [...]string{"kind", "targetType"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Meh. i know i said we could do this, but actually looking at the implementation, it seems silly to try to attain backwards compatibility here. This is an easy fix in the only place we know cuetsy to really exist - grafana/grafana.

So let's only support "kind"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was thinking that we might have to update all cue files there :), might be painful for now. ok let's keep it simple.

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.

Change targetType to kind
2 participants