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

chore(weave): Rename ActionDefintion to ActionSpec to match naming patterns #2938

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

tssweeney
Copy link
Collaborator

This is our only chance to change this (before it ships). Let's get it right

@tssweeney tssweeney requested a review from a team as a code owner November 8, 2024 01:47
class ActionDefinition(base_object_def.BaseObject):
spec: ActionSpecType = Field(..., discriminator="action_type")
class ActionSpec(base_object_def.BaseObject):
config: ActionConfigType = Field(..., discriminator="action_type")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed the nested property to config so that we don't have a nested "spec". This also matches the parameters in the dispatcher

Copy link
Member

@gtarpenning gtarpenning left a comment

Choose a reason for hiding this comment

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

I think you have to re-generate too

@circle-job-mirror
Copy link

circle-job-mirror bot commented Nov 8, 2024

@circle-job-mirror
Copy link

@tssweeney tssweeney requested a review from a team as a code owner November 8, 2024 01:56
@tssweeney tssweeney enabled auto-merge (squash) November 8, 2024 01:57
@tssweeney tssweeney merged commit a77a713 into master Nov 8, 2024
113 of 115 checks passed
@tssweeney tssweeney deleted the tim/rename_action_def_to_spec branch November 8, 2024 02:11
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 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