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

feat: don't inject generated files into hook command #1193

Closed

Conversation

melloware
Copy link
Collaborator

this fixes 1 spot that afterAllFilesWritten was missed

@melloware melloware added the bug Something isn't working label Feb 1, 2024
@melloware melloware added this to the 6.25.0 milestone Feb 1, 2024
Copy link
Contributor

@Arkanii Arkanii left a comment

Choose a reason for hiding this comment

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

For me this PR is a BC, this will generate an error for each Orval user if this hook is implemented.

You need to accept both functions names, and deprecate afterAllFilesWrite.

afterAllFilesWrite needs to be removed in 7.0.0 version.

And don't forget to update documentation:

@melloware
Copy link
Collaborator Author

i will revert it back to allFilesWrite then even though it is grammatically incorrect. ITs an easier fix in the short term

@melloware melloware closed this Feb 1, 2024
@melloware melloware deleted the afterallfileswritten-2 branch February 1, 2024 13:43
@Arkanii
Copy link
Contributor

Arkanii commented Feb 1, 2024

Just revert the documentation part in 3095de2, I'll accept the PR quickly.

@melloware
Copy link
Collaborator Author

Yep PR submitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants