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

Automatically update Facade docblocks #538

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

timacdonald
Copy link
Contributor

@timacdonald timacdonald commented Aug 31, 2023

This PR introduces a new workflow that will automatically keep the Inertia\Inertia facade's docblock up to date with the underlying implementation.

This workflow only targets the master branch and will automatically commit changes back into master when a PR is merged - so it won't interrupt PRs from the community.

Note that the script reads the types from the underlying implementation, so if there are mistakes in those types they should be corrected in the implementation rather than on the Facade.

If you run into any issues with the generator - let me know.

We already use this workflow on laravel/framework, laravel/pennant, and some other packages.

@jessarcher jessarcher merged commit a657a07 into inertiajs:master Sep 6, 2023
34 checks passed
@timacdonald timacdonald deleted the facade branch September 6, 2023 23:08
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.

2 participants