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

Rewrite normalize action #441

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

nahueespinosa
Copy link
Member

Proposed changes

Trying a new way of implementing actions that gets rid of the argument re-ordering madness and is hopefully easier to maintain.

Type of change

  • 🐛 Bugfix (change which fixes an issue)
  • 🚀 Feature (change which adds functionality)
  • 📚 Documentation (change which fixes or extends documentation)

Checklist

  • Lint and unit tests (if any) pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • All commits have been signed for DCO

@nahueespinosa nahueespinosa force-pushed the nahuel/rewrite-normalize-action branch 3 times, most recently from 91f68ea to 07f612d Compare October 5, 2024 20:49
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa force-pushed the nahuel/rewrite-normalize-action branch from 07f612d to 7e56968 Compare October 5, 2024 21:43
@nahueespinosa nahueespinosa requested review from hidmic and DPR00 October 6, 2024 14:10
@nahueespinosa nahueespinosa self-assigned this Oct 7, 2024
Copy link
Collaborator

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

Overall LGTM. The one thing I don't love is the API break (which this PR description should mention). I'd rather define and immediately deprecate pipe operators to keep the no argument variant operational instead of dropping.

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa force-pushed the nahuel/rewrite-normalize-action branch from d5b93c5 to 185f744 Compare October 8, 2024 01:55
@nahueespinosa
Copy link
Member Author

The one thing I don't love is the API break

Fixed in 185f744.

Copy link
Collaborator

@DPR00 DPR00 left a comment

Choose a reason for hiding this comment

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

Awesome! All the actions should take this structure, right? If so, I can help with the overlay action.

@nahueespinosa
Copy link
Member Author

nahueespinosa commented Oct 8, 2024

All the actions should take this structure, right? If so, I can help with the overlay action.

@DPR00 Yeah, that would be great!

@nahueespinosa nahueespinosa merged commit 9795c41 into main Oct 8, 2024
11 checks passed
@nahueespinosa nahueespinosa deleted the nahuel/rewrite-normalize-action branch October 8, 2024 12:15
@DPR00 DPR00 mentioned this pull request Oct 15, 2024
7 tasks
nahueespinosa pushed a commit that referenced this pull request Oct 16, 2024
### Proposed changes

Rewrite overlay function following the guidelines in #441.

#### Type of change

- [ ] 🐛 Bugfix (change which fixes an issue)
- [x] 🚀 Feature (change which adds functionality)
- [ ] 📚 Documentation (change which fixes or extends documentation)

### Checklist

- [x] Lint and unit tests (if any) pass locally with my changes
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added necessary documentation (if appropriate)
- [x] All commits have been signed for
[DCO](https://developercertificate.org/)

---------

Signed-off-by: Diego Palma <dpalma@symbotic.com>
Co-authored-by: Diego Palma <dpalma@symbotic.com>
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.

3 participants